|
Posted by Ivn Snchez Ortega on 06/13/07 10:09
Michael Price wrote:
> The mySQL database is set up for UTF-8, although the client's
> webserver is serving the page with the form on as ISO-8859-1 - does
> this need to change?
Seems likely.
> When stored in the database / echoed into an e-mail the above string
> comes out as a complete mess: " Î?Ï?Ï?ά είÎ?αι ελληÎ?ικά
> Î?Ï?Ï?ά είÎ?αι ελληÎ?ικά"
Try setting your browser/email reader to display the same page/email into a
different config. With Kmail, Konqueror and Firefox it's a breeze.
> So how do I ensure the typed characters, be they Chinese, Russian,
> Greek or even just accented or with umlauts are maintained into the
> database and out into an e-mail?
Just be very, very sure of what character encoding you're using. Keep track
of it, and look out for agents (web browsers) that post data in a different
encoding.
--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
http://acm.asoc.fi.upm.es/~mr/
Proudly running Debian Linux with 2.6.20-1-amd64 kernel, KDE 3.5.7, and PHP
5.2.3-1 generating this signature.
Uptime: 12:04:47 up 12 days, 18:07, 3 users, load average: 1.75, 1.64,
1.33
Navigation:
[Reply to this message]
|