Page 1 of 1

Fix for the Unicode and Uppercase issue

Posted: Thu 08 Jan 2009 21:22
by snorkel
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

Posted: Fri 09 Jan 2009 12:00
by Plash
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.

Posted: Fri 09 Jan 2009 16:04
by snorkel
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