BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Encoding Problem using greek Codepage

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.databases
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Oct 16, 2006 1:49 pm    Post subject: Encoding Problem using greek Codepage Reply with quote



Hi,
I have a complex problem regarding greek characters so I will try to
explain you the details.
I am running a german Windows version and I have an oracle 8i db that
holds records where greek characters are stored. The datase is based
upon UTF8 and the Windows Registry has the value NLS_LANG =
GREEK_GREECE.EL8MSWIN1253 that is necessary that oracle translates UTF8
fields to codepage 1253 (greek).
Thats the situation:
With my app I can write greek characters to the database and I also can
reopen
those records to see the greek characters inside my application.
But I can not store the greek characters in a file.
What I also did was changing the Windows registry key under
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage\ACP]
from 1252 to 1253. So everytime I tried saving records in a file I get
other charcters and not the ones i wnat to see.
I also changed manually the encoding of the text file from ASCII to
UTF8 but i still can't see greek characters.
Does anybody know if this is a problem in the database or more a
problem regarding Windows settings?
Thanks
Regards
Poncho
Back to top
Jamie
Guest





PostPosted: Mon Oct 16, 2006 10:25 pm    Post subject: Re: Encoding Problem using greek Codepage Reply with quote



sasfatu (AT) gmx (DOT) de wrote:
Quote:
Hi,
I have a complex problem regarding greek characters so I will try to
explain you the details.
I am running a german Windows version and I have an oracle 8i db that
holds records where greek characters are stored. The datase is based
upon UTF8 and the Windows Registry has the value NLS_LANG =
GREEK_GREECE.EL8MSWIN1253 that is necessary that oracle translates UTF8
fields to codepage 1253 (greek).
Thats the situation:
With my app I can write greek characters to the database and I also can
reopen
those records to see the greek characters inside my application.
But I can not store the greek characters in a file.
What I also did was changing the Windows registry key under
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage\ACP]
from 1252 to 1253. So everytime I tried saving records in a file I get
other charcters and not the ones i wnat to see.
I also changed manually the encoding of the text file from ASCII to
UTF8 but i still can't see greek characters.
Does anybody know if this is a problem in the database or more a
problem regarding Windows settings?
Thanks
Regards
Poncho

sounds like a combination of things.

i assume your using WideStrings ? it's my guess that
language may need it?
and maybe you have not selected to correct font in your
app ?


--
"I am never wrong, once i thought i was, but i was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.