Hi all,
as described on Yahoo here is the pb:
I have a properly formatted japanese xhtml files set.
I open them in OmegaT and I don't get a proper display of Japanese
characters although I checked that the file is well in utf-8.
After suspecting the x side of xhtml is the cause I identify the
suspect by isolating non html parts in html comments <!-- suspect
-->
the result is that the xml declaration at the very top of the file (the
very first line) seems to be the cause of the problem:
<?xml version="1.0" encoding="utf-8"?>
as is does not allow proper Japanese display
<!-- <?xml version="1.0" encoding="utf-8"?> --> (the same
declaration, but commented out so that it is not considered for
parsing) allows for proper Japanese display.
I tried to add a .xhtml suffix to the file to "force" xhtml recognition
but OmegaT does not react at all.
JC
try it for yourself.
Logged In: YES
user_id=488500
Yes, it it a bug of XML file handler (XHTML is handled by it).
Currently we're thinking of the better way to fix the issue
Logged In: YES
user_id=488500
Thanks to some refactorings of HTML and XML file handlers,
this fix was really easy to do.
Commited to trunk, to appear in 1.4.4.
See also
http://sourceforge.net/tracker/index.php?func=detail&aid=1039540&group_id=68187&atid=520350
http://sourceforge.net/tracker/index.php?func=detail&aid=1039546&group_id=68187&atid=520350