Re: [Lazarus] German Umlauts and Oracle Connection

2015-02-10 Thread John Landmesser
Am 09.02.2015 um 20:37 schrieb Michael Van Canneyt:
 
 
  Normally, I'd expect you'd have to specify UTF8 as the charset, since 
  that is what the LCL uses.

Tried a lot to get OracleConnection working with german special
characters like ö ä ü ß  but without success.

Then i tried ZeosLib that works out of the box!

I want to figure out how they solve this CodePage thing, but i think
thats fare beyond my knowledge :-((




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] German Umlauts and Oracle Connection

2015-02-10 Thread Mattias Gaertner
On Tue, 10 Feb 2015 15:57:02 +0100
John Landmesser jmlandmes...@gmx.de wrote:

 Am 09.02.2015 um 20:37 schrieb Michael Van Canneyt:
  
  
   Normally, I'd expect you'd have to specify UTF8 as the charset, since 
   that is what the LCL uses.

SQLDB has CharSet, but unit oracleconnection does not seem to use it.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] German Umlauts and Oracle Connection

2015-02-10 Thread John Landmesser

Am 10.02.2015 um 16:17 schrieb Mattias Gaertner:

SQLDB has CharSet, but unit oracleconnection does not seem to use it.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


I tried a lot to get OracleConnection working but in vain.

No i use ZeosLib thats working out of the Box.

I want to try to understand how they managed these CodePage thing, but i 
think thats far beyond my knowledge!


Wondering: if i send a message from my gmail accounjt, it never shown up 
in this list!??



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] German Umlauts and Oracle Connection

2015-02-09 Thread Michael Van Canneyt



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 ?

Michael.--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus