[PHP] Convert UTF-8 to windows-874?

2006-09-28 Thread Peter Lauri
Hi group, I am having a site all encoded in UTF-8, and it works fine. I use AJAX a lot to send data back and forth to the server. I have one service that requires that I send the data in windows-874 encoding (SMS gateway in Thailand). So is there anyway I can take the data that is UTF-8

RE: [PHP] Convert UTF-8 to windows-874?

2006-09-28 Thread Peter Lauri
of my attempts... Anyone with a hint of how to work out this problem? /Peter -Original Message- From: Peter Lauri [mailto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 5:10 PM To: 'PHP General' Subject: [PHP] Convert UTF-8 to windows-874? Hi group, I am having a site all

RE: [PHP] Convert UTF-8 to windows-874?

2006-09-28 Thread Peter Lauri
-Original Message- From: Peter Lauri [mailto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 7:16 PM To: 'Peter Lauri'; 'PHP General' Subject: RE: [PHP] Convert UTF-8 to windows-874? I think I am on the right track right now. There is a function mb_convert_encoding() that could be used

RE: [PHP] Convert UTF-8 to windows-874?

2006-09-28 Thread Richard Lynch
5:10 PM To: 'PHP General' Subject: [PHP] Convert UTF-8 to windows-874? Hi group, I am having a site all encoded in UTF-8, and it works fine. I use AJAX a lot to send data back and forth to the server. I have one service that requires that I send the data in windows-874 encoding (SMS

RE: [PHP] Convert UTF-8 to windows-874?

2006-09-28 Thread Peter Lauri
Iconv did it for me, a great thanks!!! /Peter -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 11:12 PM To: Peter Lauri Cc: 'PHP General' Subject: RE: [PHP] Convert UTF-8 to windows-874? I think that the iconv function/package may have