[wpkg-users] [Bug 269] config.xml file has wrong encoding

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Mon Apr 9 10:29:49 CEST 2012


http://bugzilla.wpkg.org/show_bug.cgi?id=269

Rainer Meier <r.meier at wpkg.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |r.meier at wpkg.org
         Resolution|                            |FIXED

--- Comment #2 from Rainer Meier <r.meier at wpkg.org>  ---
I've saved it using eclipse which does not seem to use BOM. It looks like it
was stored using UTF-8 but without BOM. Opening it with PSPad in UTF-8 mode
does not show any issues with German, French or Spanish translations. Also your
sample shows that special characters are encoded using two bytes (UTF-8). But
likely your editor translated the characters using ANSI or any other 8-bit
charset which makes UTF-8 characters 2-byte characters appear wrongly.

Just out of curiosity, which editor are you using? It seems to ignore the
encoding header in the XML header too.

Nevertheless I've added the BOM header and committed it.

FIX: Fixed UTF-8 with BOM encoding for config.xml.
     Fixes Bug 269. Thanks to Stefan Pendl.


br,
Rainer

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list