[PHP] Unicode - Entitiy Encoding

2010-10-20 Thread Sebastian Detert
Hi all, I'm stuck with this problem: I am trying to convert a text with any kind of unicode characters to its octet and entity equivalents. For example: Ë is #203; as octet and Euml; as entity Đ is #272; as octet and Dstrok; as entity My code works fine for some characters ( Ë works fine,

[PHP] Unicode problems

2008-09-25 Thread Thiago H. Pojda
This is slightly OT but I honestly don't know what else I can do. I was asked to migrate a website from diff hosts. Okay, pretty easy, right? Well, as usual, it wasn't. Site pages content type was ISO-8559-1 and it was developed for a MySQL5 database that used latin1 as charset and InnoDB as

Re: [PHP] Unicode problems

2008-09-25 Thread Chris
Thiago H. Pojda wrote: This is slightly OT but I honestly don't know what else I can do. I was asked to migrate a website from diff hosts. Okay, pretty easy, right? Well, as usual, it wasn't. Site pages content type was ISO-8559-1 and it was developed for a MySQL5 database that used latin1 as

[PHP] unicode help

2007-05-08 Thread suresh kumar
Hi, Right now my application supports 'English' Language version,i like to integrate 'chinnese' language in my application.My Application is running from PHP and mysql.I don't have any idea regarding this unicode implementation.whether we can implement using javascript or PHP.I am

Re: [PHP] Unicode Problem

2006-10-08 Thread Nisse Engström
On Fri, 6 Oct 2006 10:44:55 -0500 (CDT), Richard Lynch wrote: I don't think MS Word quotes are Unicode, really... I think they're just made-up character sets that Microsoft felt like using to be incompatible with everybody else... Though the %u is almost-for-sure and ATTEMPT to apply

RE: [PHP] Unicode Problem

2006-10-07 Thread tedd
At 4:15 PM -0500 10/6/06, Richard Lynch wrote: Perhaps you would care to extend your browsercam test to some regression testing of more ancient browsers -- on Mac OS. The following goes back to IE 5.2 for the Mac -- that's as far back as BrowserCam goes.

RE: [PHP] Unicode Problem

2006-10-06 Thread tedd
At 7:11 PM -0700 10/5/06, Robbert van Andel wrote: I know it's Unicode because the javascript is encoding it as Unicode (and it's doing so correctly). I guess the gist of my question is how to do I do a reverse. How do I take %u2022 and get make that display as the bullet character? Robbert:

Re: [PHP] Unicode Problem

2006-10-06 Thread Richard Lynch
On Thu, October 5, 2006 5:14 pm, [EMAIL PROTECTED] wrote: I have a webpage that allows users to post news stories for their department. The site uses AJAX to send the data to the webserver. The problem I'm having is when the user uses some unicode characters like bullets or MS Word quotes,

RE: [PHP] Unicode Problem

2006-10-06 Thread Richard Lynch
] Cc: php-general@lists.php.net Subject: Re: [PHP] Unicode Problem On 06/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a webpage that allows users to post news stories for their department. The site uses AJAX to send the data to the webserver. The problem I'm having is when

RE: [PHP] Unicode Problem

2006-10-06 Thread Richard Lynch
On Fri, October 6, 2006 8:37 am, tedd wrote: At 7:11 PM -0700 10/5/06, Robbert van Andel wrote: I know it's Unicode because the javascript is encoding it as Unicode (and it's doing so correctly). I guess the gist of my question is how to do I do a reverse. How do I take %u2022 and get make

RE: [PHP] Unicode Problem

2006-10-06 Thread tedd
At 10:50 AM -0500 10/6/06, Richard Lynch wrote: On Fri, October 6, 2006 8:37 am, tedd wrote: At 7:11 PM -0700 10/5/06, Robbert van Andel wrote: How do I take %u2022 and get make that display as the bullet character? I thought there was a way to use HEX directly, but can't find the

RE: [PHP] Unicode Problem

2006-10-06 Thread Richard Lynch
On Fri, October 6, 2006 12:29 pm, tedd wrote: No, that's not what I meant. I know how to convert DEC - HEX. What I was talking about is called a NCRs, or Numeric Character References One could use the Unicode DEC value directly, such as: #8226; or the Unicode HEX value directly,

[PHP] Unicode Problem

2006-10-05 Thread php
I have a webpage that allows users to post news stories for their department. The site uses AJAX to send the data to the webserver. The problem I'm having is when the user uses some unicode characters like bullets or MS Word quotes, the page comes out weird. Here's the process. 1. The user

Re: [PHP] Unicode Problem

2006-10-05 Thread Dotan Cohen
On 06/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a webpage that allows users to post news stories for their department. The site uses AJAX to send the data to the webserver. The problem I'm having is when the user uses some unicode characters like bullets or MS Word quotes,

RE: [PHP] Unicode Problem

2006-10-05 Thread Robbert van Andel
PROTECTED] Sent: Thursday, October 05, 2006 3:44 PM To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Subject: Re: [PHP] Unicode Problem On 06/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a webpage that allows users to post news stories for their department. The site uses AJAX

Re: [PHP] Unicode Problem

2006-10-05 Thread Penthexquadium
On Thu, 05 Oct 2006 18:14:59 -0400, [EMAIL PROTECTED] wrote: I have a webpage that allows users to post news stories for their department. The site uses AJAX to send the data to the webserver. The problem I'm having is when the user uses some unicode characters like bullets or MS Word

Re: [PHP] Unicode

2006-08-13 Thread Ligaya Turmelle
tedd wrote: At 7:08 PM -0700 6/4/06, Rasmus Lerdorf wrote: Larry Garfield wrote: In C or C++, yes. In PHP, do not assume the same string-number mapping. Numeric definition is irrelevant. Right, and now bring Unicode into the picture and this becomes even more true. -Rasmus I know

Re: [PHP] Unicode

2006-08-12 Thread Gerry D
Tedd, Interesting that nobody knows the answer... I am struggling with this very issue for an international lily register... http://www.lilyregister.com/ Gerry On 6/5/06, tedd [EMAIL PROTECTED] wrote: At 7:08 PM -0700 6/4/06, Rasmus Lerdorf wrote: Larry Garfield wrote: In C or C++, yes. In

[PHP] Unicode

2006-06-05 Thread tedd
At 7:08 PM -0700 6/4/06, Rasmus Lerdorf wrote: Larry Garfield wrote: In C or C++, yes. In PHP, do not assume the same string-number mapping. Numeric definition is irrelevant. Right, and now bring Unicode into the picture and this becomes even more true. -Rasmus I know there's always RTFM,

[PHP] unicode

2006-04-14 Thread suresh kumar
Hi to all, we completed one module of our project in English language.but our client asked to do it in chinesse language also.I dont have any idea regarding this.whether we have to download any chinesse fonts or is there any tutorials available for this purpose.or project is in

Re: [PHP] unicode

2006-04-14 Thread Jochem Maas
go away and RTFM, STFW, anything but ask another question here until you can show even the slightest inclination to do you're own research and that you'll bother to response to people when then do actually give answers (like maybe a thank you if someone does actually help you, for instance).

Re: [PHP] unicode

2006-04-14 Thread Wolf
And they wonder why labor is so cheap in India and they keep sending jobs and opening call centers and such over there... They read scripts all day, you would think that they would know how to Google. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] unicode

2006-04-14 Thread tedd
At 9:25 AM -0400 4/14/06, Wolf wrote: And they wonder why labor is so cheap in India and they keep sending jobs and opening call centers and such over there... They read scripts all day, you would think that they would know how to Google. Maybe we could open a call center here for answers to

Re: [PHP] unicode

2006-04-14 Thread Wolf
And Maybe get all that government subsidized money for bringing in jobs to a location that lost them due to a call center closing... yeah, that's the ticket!! tedd wrote: At 9:25 AM -0400 4/14/06, Wolf wrote: And they wonder why labor is so cheap in India and they keep sending jobs and

[PHP] unicode and php

2004-04-08 Thread Kathleen Ballard
I am trying to translate a site to Simplified Chinese. I was told the pages needed to be saved as unicode files. However, the unicode files do not process as php on my host server. ie. if you view source on a page saved as unicode, all the php code is there. My hosting company says that

[PHP] Unicode translation

2003-12-02 Thread Louie Miranda
Guys, A problem arised on my application when a user enters a Unicode format code on the site. Well, we really catch every information and i really need to get some explanation about it. ex: C = U+0108: Latin Capital Letter C With Circumflex Now this unicode character does not have any

[PHP] Unicode Ordinal

2003-04-01 Thread Roy Huggins
Hola. I would love if someone could point out a way to get the Unicode ordinal value of a character in PHP (I could use mb_encode_numericentity() and strip out the non-number characters, but there's gotta be a better way, right?) I'm sure I've missed something in all my searches, but I've given

Re: [PHP] Unicode TTF Font wingding's just don't cut it!

2002-02-20 Thread Rasmus Lerdorf
Does anyone know where I can get a simple symbol font which is .ttf and unicode compatible. Seems that my php graphic program is very sensitive to ttf problems. It'll take one or two wingdings in imagettftext() before it up and dies. Your help will be greatly appreciated. Dies? How so? Is

[PHP] Unicode TTF Font wingding's just don't cut it!

2002-02-19 Thread hugh danaher
Help Does anyone know where I can get a simple symbol font which is .ttf and unicode compatible. Seems that my php graphic program is very sensitive to ttf problems. It'll take one or two wingdings in imagettftext() before it up and dies. Your help will be greatly appreciated. Hugh

Re: [PHP] Unicode TTF Font wingding's just don't cut it!

2002-02-19 Thread Neil Freeman
What symbols are you trying to use? Verdana is good enough for most unicode characters. hugh danaher wrote: Help Does anyone know where I can get a simple symbol font which is .ttf and unicode compatible. Seems that my php graphic program is very sensitive to ttf problems. It'll take one

Re: [PHP] Unicode TTF Font wingding's just don't cut it!

2002-02-19 Thread hugh danaher
: Neil Freeman [EMAIL PROTECTED] To: hugh danaher [EMAIL PROTECTED] Cc: php [EMAIL PROTECTED] Sent: Tuesday, February 19, 2002 1:38 AM Subject: Re: [PHP] Unicode TTF Font wingding's just don't cut it! What symbols are you trying to use? Verdana is good enough for most unicode characters. hugh