Skip to content

Commit d3393ef

Browse files
author
homann
committed
i18n patch so that Jurgen works again. Fixes #905.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7974 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 616fe5e commit d3393ef

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

AUTHORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
# a blank image will be displayed.
1111
# Images are read out of $PREFIX/share/qgis/images/developers/
1212
# ---------------------------------------------------------
13+
#
14+
# ALWAYS USE UTF-8 WHEN WRITING THIS FILE!
15+
#
1316
Gary E.Sherman <sherman at mrcc dot com>
1417
Steve Halasz <stevehalasz at users.sourceforge.net>
1518
Marco Hugentobler <mhugent at users.sourceforge.net>

SPONSORS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
# name|<website>
99
# This list should be sorted by first name. The
1010
# website entry is optional.
11+
# -------------------------------------------------------
12+
#
13+
# ALWAYS USE UTF-8 WHEN WRITING THIS FILE!
14+
#
1115
Aaron Racicoti, Ecotrust|www.ecotrust.org
1216
Adam Lane
1317
Albin Blaschka|www.albinblaschka.info

src/app/qgsabout.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ void QgsAbout::init()
6161
#endif
6262
if ( file.open( QIODevice::ReadOnly ) ) {
6363
QTextStream stream( &file );
64-
#ifdef Q_OS_DARWIN
64+
// Always use UTF-8
6565
stream.setCodec("UTF-8");
66-
#endif
6766
QString line;
6867
#ifdef QGISDEBUG
6968
int i = 1;
@@ -118,6 +117,8 @@ void QgsAbout::init()
118117
+ "</th><th>" + tr("Name") + "</th><th>" + tr("Website") + "</th></tr>";
119118
QString website;
120119
QTextStream sponsorStream( &sponsorFile );
120+
// Always use UTF-8
121+
sponsorStream.setCodec("UTF-8");
121122
QString sline;
122123
int count = 0;
123124
while ( !sponsorStream.atEnd() )

0 commit comments

Comments
 (0)