Re: [PHP] String Encodings - loose guidelines

2011-01-28 Thread Donovan Brooke
Marc Guay wrote: 1.) Saving strings to a database One thing I always forget to remember is to send tge "SET NAMES utf8" command to MySQL after making a connection. This will save you 1000 headaches if you're working with non-latin characters. I can't count the number of times I've thrown html

Re: [PHP] String Encodings - loose guidelines

2011-01-25 Thread Marc Guay
> 1.) Saving strings to a database One thing I always forget to remember is to send tge "SET NAMES utf8" command to MySQL after making a connection. This will save you 1000 headaches if you're working with non-latin characters. I can't count the number of times I've thrown htmlentities, htmlspec