Fix for the Unicode and Uppercase issue

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Fix for the Unicode and Uppercase issue

Post by snorkel » Thu 08 Jan 2009 21:22

Ha Success!!!!
I changed the FProtocal.Connect to test with a Unicode database name.

FProtocol.Connect(AnsiString(FServer), Port, FConnectionTimeout,
system.UTF8Encode(Fdatabase),AnsiString(FUserName), AnsiString(FPassword));

and with this change I can connect to a database with a Unicode name and upperchase chars
Getting rid of that normalizename function and doing the UTF8Encode seemed to do the trick. The UTF8Encode would also need to be applied to the username and password for a full fix, not sure if the server var would need it or not.

This is with the 1.00.0.3 release.

Looking forward to the next build that fixes this officially.

Thanks,

Snorkel

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 09 Jan 2009 12:00

Please try to download PgDAC sources once more. These fixes are already icluded to version 1.00.0.3. There is UTF8Encode added and NormalizeName removed.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Post by snorkel » Fri 09 Jan 2009 16:04

Plash wrote:Please try to download PgDAC sources once more. These fixes are already icluded to version 1.00.0.3. There is UTF8Encode added and NormalizeName removed.
I allready have version 1.00.0.3 and that particular fix is not included.
Did you guys update it after the 1.0 release and not increment the build number?

I will download it again and see.

Thanks,

Snorkel

Post Reply