German Umlaute GET / Unicode / SQL - QDBC - native

German Umlaute GET / Unicode / SQL - QDBC - native

Postby Jimmy » Tue Jul 18, 2023 8:39 pm

hi,

i have Problem with GET when type German "Umlaute"
it work fine with DBF (where i can set Codepage) but fail SQL - QDBC - native

i have use "latest" Access Sample (with FWH 23/04)
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=43466

i type : "aaa" and than "ä" but when type 2nd "ä" i got this
Image
it also happens using TPQServer() or "native" using LibPQ.DLL for PostgreSQL
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1697
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: German Umlaute GET / Unicode / SQL - QDBC - native

Postby nageswaragunupudi » Tue Jul 18, 2023 9:08 pm

This problem is reported by another German user.
We are looking into this.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10468
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: German Umlaute GET / Unicode / SQL - QDBC - native

Postby nageswaragunupudi » Wed Jul 19, 2023 4:00 pm

I found it working well with this following setup
Code: Select all  Expand view
  HB_LANGSELECT( "DE" )
   HB_CDPSELECT( "DEWIN" )
   FW_SetUnicode( .F. )

Can you please check and confirm?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10468
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: German Umlaute GET / Unicode / SQL - QDBC - native

Postby Jimmy » Wed Jul 19, 2023 9:33 pm

hi,
nageswaragunupudi wrote:I found it working well with this following setup
Code: Select all  Expand view
  HB_LANGSELECT( "DE" )
   HB_CDPSELECT( "DEWIN" )
   FW_SetUnicode( .F. )

Can you please check and confirm?

thx for Answer

i can now "input" German Umlaute
... but not working with PostgreSQL Server, which use UTF8, when want to "save" it :(
Image

Question : do you use ANSI for ADO / ODBC or UTF8 ?
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1697
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: German Umlaute GET / Unicode / SQL - QDBC - native

Postby Jimmy » Thu Jul 20, 2023 4:32 am

hi,

have try Sample c:\fwh\samples\pgre01.prg
using PostgreSQL v9.5 Server and WIN1252 for Database

now i can "input", even German Umlaute, and "save" it :D

on same Server i try UTF8 Table but than it fail again ...
so i need to use ANSI Table for Fivewin Sample
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1697
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Jimmy and 87 guests