Re: [PHP] Re: Converting strings to match multiple charsets

2004-07-01 Thread - Edwin -
On Thursday 01 July 2004 06:42, Red Wingate wrote: yep, as i said it was displayed correctly everywhere expect in the forms oh i might mention - Mozilla worked well but IE destroyed the data (only in textareas) Just an idea... How about doing something like this: Retrieve data from the

[PHP] Re: Converting strings to match multiple charsets

2004-07-01 Thread Torsten Roehr
Red Wingate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] yep, as i said it was displayed correctly everywhere expect in the forms oh i might mention - Mozilla worked well but IE destroyed the data (only in textareas) Do you run the utf8 decoded data through htmlentities()? What

[PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread Torsten Roehr
Red Wingate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey guys, i ran into serious trouble when facing the problem to convert data, which was retrieved from a single form in our CMS to match the requirements of multiple charsets. Our CMS uses UTF-8 which worked out quite

[PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread Red Wingate
[...] Can't you use utf8_decode() to display the utf8 encoded data? [...] The displayed data worked out fine for some languages but others didn't and even simple german chars like äöü won't show up correctly within a textarea. [...] Is this what you're looking for?:

[PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread Torsten Roehr
Red Wingate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [...] Can't you use utf8_decode() to display the utf8 encoded data? [...] The displayed data worked out fine for some languages but others didn't and even simple german chars like äöü won't show up correctly within a

[PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread Red Wingate
[] Hi Red, I'm actually working on a project as well at the moment that uses utf8 data in MySQL. All chars should be OK when output with utf8_decode(). Do the chars only look wrong within textarea or also outside of form elements? [] Actually everything ( expect one language ... i guess it

[PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread Torsten Roehr
Red Wingate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [] Hi Red, I'm actually working on a project as well at the moment that uses utf8 data in MySQL. All chars should be OK when output with utf8_decode(). Do the chars only look wrong within textarea or also outside

[PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread Red Wingate
yep, as i said it was displayed correctly everywhere expect in the forms oh i might mention - Mozilla worked well but IE destroyed the data (only in textareas) Torsten Roehr wrote: Red Wingate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [] Hi Red, I'm actually working on a