This content has been marked as final.
Show 3 replies
-
1. Re: How to input none English characters directly in the xhtml?
danielc.roth Mar 11, 2008 8:24 AM (in response to anatorian)Make sure the xhtml is saved in utf8 format. In eclipse, you right click on the file->Properties->Resources->Text File properties and set it to utf8.
Even better is to right click on the project and force all files to be saved in utf8.
-
2. Re: How to input none English characters directly in the xhtml?
anatorian Mar 11, 2008 8:36 AM (in response to anatorian)Thanks for your reply.
My project's standard encoding is not UTF-8 but GBK. If I add <?xml version=1.0
encoding=GBK
?> at the begin of the xhtml, it works. But not all xhtml accept this declaring. If I added it in the menu.xhtml, it cause error. If I don't add it, I can not type Chinese in it. -
3. Re: How to input none English characters directly in the xhtml?
nickarls Mar 11, 2008 8:40 AM (in response to anatorian)You have probably seen this FAQ? Tried the encoding="Big5" etc?