XML encoding problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nutshell

    #1

    XML encoding problem

    Hi!

    I am using Xerces 2.2.0 for C++ as XML parser and I have problems when
    transcoding central european signs to unicode, that is I get strange signs
    in the XML output file and not the ones I want there to be.

    Default encoding type for XML document is UTF-8.

    To transcode chars to unicode I use
    XMLString::tran scode(someData) .unicodeForm().

    I would appreciate any help on this, if someone has experience with this
    issue.

    Thnx, in advance.


  • Bjoern Hoehrmann

    #2
    Re: XML encoding problem

    * Nutshell wrote in comp.text.xml:[color=blue]
    >I am using Xerces 2.2.0 for C++ as XML parser and I have problems when
    >transcoding central european signs to unicode, that is I get strange signs
    >in the XML output file and not the ones I want there to be.[/color]

    Strange signs?

    Comment

    • Andreas Prilop

      #3
      Re: XML encoding problem

      "Nutshell" <sobadic@yahoo. com> wrote:
      [color=blue]
      > X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
      >
      > I am using Xerces 2.2.0 for C++ as XML parser and I have problems when
      > transcoding central european signs to unicode, that is I get strange signs
      > in the XML output file and not the ones I want there to be.
      > To transcode chars to unicode I use
      > XMLString::tran scode(someData) .unicodeForm().[/color]

      Perhaps you have some confusion on the input between ISO-8859-2 and
      cp1250. Give examples!

      BTW:
      Your newsreader isn't set-up correctly to send special, non-ASCII
      characters. Please choose

      Tools > Options > Send
      Mail Sending Format > Plain Text Settings > Message format MIME
      News Sending Format > Plain Text Settings > Message format MIME
      Encode text using: None

      --
      Top posting.
      What's the most irritating thing on Usenet?

      Comment

      Working...