File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 10
10
# a blank image will be displayed.
11
11
# Images are read out of $PREFIX/share/qgis/images/developers/
12
12
# ---------------------------------------------------------
13
+ #
14
+ # ALWAYS USE UTF-8 WHEN WRITING THIS FILE!
15
+ #
13
16
Gary E.Sherman <sherman at mrcc dot com>
14
17
Steve Halasz <stevehalasz at users.sourceforge.net>
15
18
Marco Hugentobler <mhugent at users.sourceforge.net>
Original file line number Diff line number Diff line change 8
8
# name|<website>
9
9
# This list should be sorted by first name. The
10
10
# website entry is optional.
11
+ # -------------------------------------------------------
12
+ #
13
+ # ALWAYS USE UTF-8 WHEN WRITING THIS FILE!
14
+ #
11
15
Aaron Racicoti, Ecotrust|www.ecotrust.org
12
16
Adam Lane
13
17
Albin Blaschka|www.albinblaschka.info
Original file line number Diff line number Diff line change @@ -61,9 +61,8 @@ void QgsAbout::init()
61
61
#endif
62
62
if ( file.open ( QIODevice::ReadOnly ) ) {
63
63
QTextStream stream ( &file );
64
- # ifdef Q_OS_DARWIN
64
+ // Always use UTF-8
65
65
stream.setCodec (" UTF-8" );
66
- #endif
67
66
QString line;
68
67
#ifdef QGISDEBUG
69
68
int i = 1 ;
@@ -118,6 +117,8 @@ void QgsAbout::init()
118
117
+ " </th><th>" + tr (" Name" ) + " </th><th>" + tr (" Website" ) + " </th></tr>" ;
119
118
QString website;
120
119
QTextStream sponsorStream ( &sponsorFile );
120
+ // Always use UTF-8
121
+ sponsorStream.setCodec (" UTF-8" );
121
122
QString sline;
122
123
int count = 0 ;
123
124
while ( !sponsorStream.atEnd () )
You can’t perform that action at this time.
0 commit comments