Re: Vietnamese charater displayed not correctly!

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.database
Message-ID <[email protected]>

--On 10. August 2006 10:04:58 +0700 NGUYEN HUU DINH 
<[email protected]> wrote:

> Hi,
>
> I used mxodbc connected to MSSQL Server to get vietnamese data and
> displayed it in portlets. But vietnamese characters displayed not
> correctly, question mark appeared!!! I've set the encoding to utf-8 but I
> don't know why.

Which encoding?

*You* must ensure that you receive your data from database as Python 
Unicode strings or UTF-8. If your database encoding is XXXX you *can't* 
expect that the data will be shown correctly.

-aj

_______________________________________________
Zope-DB mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zope-db
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFE2raICJIWIbr9KYwRAjIVAKDTlm9PkqciJVPLJFYSQ5VvMQ7rLQCg0a8f
A/FEBbtEFz8l4GWugeQewXk=
=A1tH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.