one more related problem would be this: (i hope you will approve my previous
post)
i have this code that works perfect in D2007 + tntunicode components
sMSG.Lines.Text := CheckPop.FullResult.Text;
sMSG.Header.CharsetCode := UTF_8;
sMSG.DecodeMessage;
the result was utf8 gibberish that was converted correctly with tntcomponent
(TTntEdit for example) but now the content of the TEdit is the "real"
utf8 characters as if delphi does not translate the "weird" utf8 characters
into the correct characters so when there is a different language and
not english, the result is utf garbage. i removed the
line:sMSG.Header.CharsetCode := UTF_8; and tried with hebrew characters and it
worked
ok because the default CP was cp1255 which is hebrew but when i tried Cyrillic
it didnt convert it as it should
again, in D2007 and tntcomponents it works perfectly
please advice
--
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public