Thank you Mr. Schafie,
I need only to set my IME to UNICODE and that was it. One does not always
think of the obvious.
Again, thanks.
Yours,
Tom Louton
Hussein Shafie
<hussein at pixware.fr>
Gesendet von: An: Thomas.Louton at
schering.de
hussein at saxo.pixware. Kopie: "xmleditor-support
at xmlmind.com" <xmleditor-support at xmlmind.com>
fr Thema: Re: [XXE] Cannot open
XML file with encoding="Shift_JIS"
24.02.03 12:15
Bitte antworten an
"xmleditor-support at xm
lmind.com"
Thomas.Louton at schering.de wrote:
>
> IME data entry is ok, just that my XML files claim to have UTF-8 as
> encoding <?xml version="1.1" encoding="UTF-8"?> but in reality they are
> Shift_JIS.
I strongly urge you to fix this. If your files are encoded using
Shift_JIS, then the XML declaration must specify "Shift_JIS" and not
"UTF-8". Note that my recommendation is not related to our editor but
rather is a general one.
> When I put SJIS in as the encoding the editor refuses to open
> the document, "Unsupported Encoding".
> Is there anything I can do to change this.
XMLmind XML Editor (XXE) does not support the Shift_JIS encoding.
Using the Shift_JIS encoding in Japanese XML files is not mandatory (in
fact, for general interchange, it is recommended to use the UTF-8
encoding). That is, you can perfectly author your *new* Japanese
documents with XXE using the UTF-8 encoding.
If you want to be able to edit your *existing* Shift_JIS XML documents
with XXE, you'll have to transcode them from Shift_JIS to UTF-8 first
using a third party utility. I'm sorry not to be able to give you a
pointer to such an utility.
> I render with the DocBook templates and HTML causes no problem, but the
PDF have incorrect rendering.
DocBook and XHTML are both ``XML-based'' formats. PDF is not
``XML-based''. Therefore you cannot used XXE to edit PDF files.