[Lazarus] German Umlauts and Oracle Connection

Michael Van Canneyt michael at freepascal.org
Mon Feb 9 20:37:39 CET 2015

On Mon, 9 Feb 2015, John Landmesser wrote:

> i get Citynames from a oracle Database, but i get for example "Gie?en" 
> instead of "Gießen" In a TDBGrid.
> I tried different Charset in my OracleConnection.Charset as mentioned 
> from Oracle on
> http://docs.oracle.com/cd/B28359_01/server.111/b28298/applocaledata.htm#CIAJAGCB
> but without success!

Normally, I'd expect you'd have to specify UTF8 as the charset, since that is what the LCL uses.

> If i put a Tedit on my form, i can write "Gießen", so it has to be a 
> setting in OracleConnection?!!
> MainForm.Font.CharSet Is DEFAULT_CHARSET
> Tipps are welcome!

What platform is this ?

If it is linux, did you include cwstring in your program's uses clause ?


More information about the Lazarus mailing list