Changes for page UTF-8 Encoding Tips

Last modified by Ray Kiddy on 2022/01/11 21:36

From version 9.1
edited by Ramsey Gurley
on 2009/11/17 19:39
Change comment: There is no comment for this version
To version 10.1
edited by Antoine Berry
on 2012/09/20 10:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ramsey
1 +XWiki.aberry
Content
... ... @@ -59,6 +59,6 @@
59 59  
60 60  Localizable.strings should be encoded in UTF-16. The localizer can detect UTF-16 without error, where it can confuse UTF-8 with other encodings. Pascal says use UTF-16LE if you want to be explicit about things... Especially if you are editing your strings files in an external editor like BBEdit or whatnot. I use the eclipse editor and UTF-16 myself and all seems to work fine for me. So to each his own.
61 61  
62 -== Your tips go here. ==
62 +== Build your files in UTF-8. ==
63 63  
64 -It's a wiki, ya know :)
64 +If you have some special characters in your code (like '€' for exemple), then you will need to specify which encoding you want when you build your application. To do that, you have to modify your "build.xml" file by adding the property "encoding="utf-8" into your <wocompile> statement.