Re: [PHP] Clarification..... UTF-8 Enccoding .....

2003-08-03 Thread Tom Rogers
Hi, Monday, August 4, 2003, 2:03:57 PM, you wrote: RPJ> Any idea on how to get rid of Windows chracters. I have paroblem with RPJ> users cutting and pasting out of Microsoft Word into textarea's and RPJ> input-boxes and the special characters like quotations and apostrophes RPJ> messing up the xm

Re: [PHP] Clarification..... UTF-8 Enccoding .....

2003-08-03 Thread Justin French
Identify common problematic characters, and develop a function (series of str_replace()'s) to convert them to suit. Over time, you can always add to this function as you spot more problematic characters. Also look at something like Tidy (see archives in the last week where it was discussed wit

Re: [PHP] Clarification..... UTF-8 Enccoding .....

2003-08-03 Thread Hank TT
I don't know how MS encodes its "smart" quotes but there are certainly Unicode-compliant equivalents: http://www.alanwood.net/unicode/general_punctuation.html And XML is friendly to utf-8 (assuming you do want utf-8). - Original Message - From: "Russell P Jones" <[EMAIL PROTECTED]> To: <