[Mono-list] Mono and Postgresql, Chinese character problem

Francisco Figueiredo Jr. fxjrlists@yahoo.com.br
Fri, 26 Nov 2004 22:40:20 -0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arnold.Zhu wrote:
| Hello, mono-list
|

Hello Arnold.

| Install mono without icu, postgresql database with encoding unicode.
| I can't get Chinese characters correctly with C# programs, while they
| are correct in database.
|

Are you using Npgsql?

If so, did you try add Encoding=UNICODE in your connection string?

I hope it helps.


- --
Regards,

Francisco Figueiredo Jr.
Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org



- -------------
"Science without religion is lame;
religion without science is blind."

~                  ~ Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQafM8/7iFmsNzeXfAQKrygf/Ued8fExlLavxlySi2340vx86HmXsNfDE
gTIYJARpW/wKXx7/xPBI7ckR37Iy9SRKxicl54E3+agN33Q1Sqy3usQ8YoyECT3m
1XPy2s4siTCkskKhS2nWEddNakDs9gaJnN1xi4pBAPGXce3J/luxxiZR2CiII1k3
Yij2QL8wteYoODRblIngrAi9ZdKzaJRG6Luez2Ah5dnVQYuT/jxW9fzqMHVraiOT
JIRnG7B3ujk9FBtr+P3mSqyDb0joVC9CpRknTevQfdlLjP2wSJLgD04qxKZ1vYqP
5lBt+3dXnPumJzKAogPpzuhDA9Ben+q4/Cp1CFzWQvMMfMgp7kl5TA==
=wxxX
-----END PGP SIGNATURE-----