Hacker News new | ask | show | jobs
by ohwp 4601 days ago
Note that some browser do use the <meta charset="UTF-8"> even if the content-type header already sent the charset.

Another thing to add: always open a database connection in the charset of choice. And if you are a PHP user (like I am): there are still functions that don't support multibyte so be careful.

1 comments

This is the biggest current driver towards me trying to muster the effort to move off of PHP. Also, I had no end of trouble working with filenames that contained UTF-8 characters using PHP, and had to give up in the end.