Re: Produce XML with russian text
- From: SiegfriedN <sniedinger@xxxxxxxxxxx>
- Date: Fri, 15 Feb 2008 12:18:46 +0000
Bolla Sándor wrote:
...
I use DBExpress components and the text is stored in text's column in a 3.23.x MySQL version. To get back the data in Memo's and save them in the database there are no problems, only when I want to save them in an external file in an xml with utf-8 encoding.
Sounds like you need to consider the alternative solutions. DevExpress components are also not
Unicode Complaint at least until Delphi2008 is released.
So basically you are storing, retrieving and displaying the data in a Russian characterset. (Is your MySQL database also set to the same codepage characterset?) (I do not know MySQL database)
What does the text look like in the generated XML document. Does it show the Russian Cyrilic characters or some other characters? If you do not see the Cyrilic characters in the XML you need to make sure the text is properly encoded from what you see on the screen to the Russian equivalent letters to save in the XML.
When you convert to UTF8 characters you need to make sure the converter routine takes into consideration the Codepage characterset you are using when showing the text in the controls on the screen.
Siegfried
.
- Follow-Ups:
- Re: Produce XML with russian text
- From: Bolla Sándor
- Re: Produce XML with russian text
- References:
- Produce XML with russian text
- From: Bolla Sándor
- Re: Produce XML with russian text
- From: SiegfriedN
- Re: Produce XML with russian text
- From: Bolla Sándor
- Produce XML with russian text
- Prev by Date: Ann - NextGrid v4.2.4 grid component released
- Next by Date: Re: Produce XML with russian text
- Previous by thread: Re: Produce XML with russian text
- Next by thread: Re: Produce XML with russian text
- Index(es):
Relevant Pages
|