Re: [PHP-DOC] Convert Characters

2004-03-30 Thread Gabor Hojtsy
could someone please answer my first part of the question.. "Is there a way to convert any character to it's HTML &#xxx; equivalent in PHP?" I used to code in asp and I used "server.HtmlEncode" My problem is that I dont know what I have to use with php Our problem is that this is not the right lis

Re: [PHP-DOC] Convert Characters

2004-03-30 Thread Mehdi Achour
Again, it's not the right list ... Reuben Sant wrote: could someone please answer my first part of the question.. "Is there a way to convert any character to it's HTML &#xxx; equivalent in PHP?" I used to code in asp and I used "server.HtmlEncode" My problem is that I dont know what I have to us

Re: [PHP-DOC] Convert Characters

2004-03-29 Thread Reuben Sant
could someone please answer my first part of the question.. "Is there a way to convert any character to it's HTML &#xxx; equivalent in PHP?" I used to code in asp and I used "server.HtmlEncode" My problem is that I dont know what I have to use with php Thanks Again Reuben "Adam Maccabee Trach

Re: [PHP-DOC] Convert Characters

2004-03-29 Thread Adam Maccabee Trachtenberg
On Mon, 29 Mar 2004, Reuben Sant wrote: > I need to do this because I need to store Unicode Characters in a MySQL > database.. This is because Unicode chars example ŭ use 2 bytes and when > I try to store it, it appears as 2 separate nonsense characters in the db. > > Is there any different soluti

[PHP-DOC] Convert Characters

2004-03-29 Thread Reuben Sant
Hi, Is there a way to convert any character to it's HTML &#xxx; equivalent in PHP? For example A is the letter "A" where the number 65 represents it's ASCII code. I need to do this because I need to store Unicode Characters in a MySQL database.. This is because Unicode chars example ŭ use 2 byte