[PHP] Best way to encode?

2005-01-19 Thread Brian Dunning
I have a form where people input some text, which is then incorporated into an HTML snippet which appears in a textarea for them to copy paste into a web page. People will be entering foreign language stuff as well as special characters like copyright, so I have to be sure this is handled

Re: [PHP] Best way to encode?

2005-01-19 Thread Ligaya Turmelle
Are you talking about page encoding? if so try utf8 on the pae with the form. (meta http-equiv=Content-Type content=text/html;charset= utf-8 /) it handles just about any language for input. and as long as you don't want to do a search on the input it can go right into the database (table