Re: [PHP] Convert UTF-8 to PHP defines

2010-05-31 Thread Angus Mann
] Convert UTF-8 to PHP defines At 10:20 PM +0200 5/29/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: On Sat, 29 May 2010 10:16:39 -0400, tedd wrote: At 7:15 AM +0200 5/29/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: No. There are no glyphs in Unicode. This is spelled out for you in chapter 2

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-30 Thread tedd
At 10:20 PM +0200 5/29/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: On Sat, 29 May 2010 10:16:39 -0400, tedd wrote: At 7:15 AM +0200 5/29/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: No. There are no glyphs in Unicode. This is spelled out for you in chapter 2, figure 2-2. Characters versus

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-29 Thread tedd
At 7:15 AM +0200 5/29/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: No. There are no glyphs in Unicode. This is spelled out for you in chapter 2, figure 2-2. Characters versus Glyphs. *blink* *blink* *blink* I read it, but that's not addressing the issue here -- that's something different.

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-29 Thread Nisse Engström
On Sat, 29 May 2010 10:16:39 -0400, tedd wrote: At 7:15 AM +0200 5/29/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: No. There are no glyphs in Unicode. This is spelled out for you in chapter 2, figure 2-2. Characters versus Glyphs. Code points are simply unique numbers assigned to specific

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread Ashley Sheridan
On Fri, 2010-05-28 at 11:51 +0800, Guus Ellenkamp wrote: I would like if you stick to the original issue: can a PHP source file be in utf-8. It's not about the output, that is properly supported. Think it would be a good idea anyhow that PHP would support utf-8 source files as it seems

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread Richard Quadling
On 28 May 2010 04:47, Guus Ellenkamp ellenkamp_g...@hotmail.com wrote: And I need(ed) this stuff especially for non-ASCII characters like Chinese, Arabic and stuff :) Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1274976794.2202.274.ca...@localhost... On Thu, 2010-05-27 at

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread tedd
Bob wrtote: The real question is whether unicode is even relevant now that the UTF series is available. Ashley answered: Bob, UTF is unicode (Unicode Transformation Format) Yes, Ashley is correct. UTF-8 is Unicode, as is UTF-16 and UTF-32, which all use different a number of bytes for

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread tedd
At 8:33 PM +0100 5/27/10, Ashley Sheridan wrote: Tedd, does that URL actually go anywhere, as I got nothing when I tried visiting it, both the actual URL and the punycode version. Ash: Try it again (it worked for me). In any event, the link was supposed to be redirected to this site:

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread Nisse Engström
On Fri, 28 May 2010 11:13:35 -0400, tedd wrote: Bob wrtote: The real question is whether unicode is even relevant now that the UTF series is available. Ashley answered: Bob, UTF is unicode (Unicode Transformation Format) Or more precisely, UTF-{8,16,32} are different ways to serialize

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread tedd
At 8:52 PM +0200 5/28/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: On Fri, 28 May 2010 11:13:35 -0400, tedd wrote: As is my understanding, UTF-8 will accommodate all the languages (glyphs) of the world and then some. It will be a while before we need UTF-16 or UTF-32 but those are just a

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread Nisse Engström
On Fri, 28 May 2010 16:52:09 -0400, tedd wrote: At 8:52 PM +0200 5/28/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: On Fri, 28 May 2010 11:13:35 -0400, tedd wrote: As is my understanding, UTF-8 will accommodate all the languages (glyphs) of the world and then some. It will be a while before

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Andre Polykanine
Hello Guus, Actually, we are using the same method here on http://oire.org/. We have all of the language files in UTF8 format and everything seems to be OK. Yes, unicode support in PHp laisse à désirer, like the French say, but it does support UTF8 files. -- With best regards from Ukraine, Andre

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Guus Ellenkamp
Thanks, but are you sure of that? I did some research a while ago and found that officially PHP files should be ascii and not have any specific character encoding. I believe it will work anyhow (did not try this one), but would like to stick with the standards. Ashley Sheridan

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 21:45 +0800, Guus Ellenkamp wrote: Thanks, but are you sure of that? I did some research a while ago and found that officially PHP files should be ascii and not have any specific character encoding. I believe it will work anyhow (did not try this one), but would like

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Adam Richardson
On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp ellenkamp_g...@hotmail.comwrote: Thanks, but are you sure of that? I did some research a while ago and found that officially PHP files should be ascii and not have any specific character encoding. I believe it will work anyhow (did not try this

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp ellenkamp_g...@hotmail.comwrote: Thanks, but are you sure of that? I did some research a while ago and found that officially PHP files should be ascii and not have any specific

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread tedd
At 5:13 PM +0100 5/27/10, Ashley Sheridan wrote: I don't use the higher range of characters often, but I do sometimes use them for things like the graphical glyphs (1Ž2), etc) I know I could do those with regular text and the Wingdings font, but that's not available on every computer, and

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Bob McConnell
From: Ashley Sheridan On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp ellenkamp_g...@hotmail.comwrote: Thanks, but are you sure of that? I did some research a while ago and found that officially PHP files should be ascii and not

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 14:06 -0400, Bob McConnell wrote: From: Ashley Sheridan On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp ellenkamp_g...@hotmail.comwrote: Thanks, but are you sure of that? I did some research a while

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread tedd
At 7:11 PM +0100 5/27/10, Ashley Sheridan wrote: On Thu, 2010-05-27 at 14:06 -0400, Bob McConnell wrote: From: Ashley Sheridan I don't use the higher range of characters often, but I do sometimes use them for things like the graphical glyphs (1Ž2), etc) I know I could do those with

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Bob McConnell
From: tedd The Unicode database uses the same lower character values (i.e., code points) as does ASCII, namely 0-127, and thus UFT-8 (8-bit variable width encoding) is really a super-set which includes the sub-set of ASCII. The Wingdings font that Ash refers to is the really the

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 15:28 -0400, Bob McConnell wrote: From: tedd The Unicode database uses the same lower character values (i.e., code points) as does ASCII, namely 0-127, and thus UFT-8 (8-bit variable width encoding) is really a super-set which includes the sub-set of ASCII.

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Guus Ellenkamp
And I need(ed) this stuff especially for non-ASCII characters like Chinese, Arabic and stuff :) Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1274976794.2202.274.ca...@localhost... On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: On Thu, May 27, 2010 at 9:45 AM,

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Guus Ellenkamp
I would like if you stick to the original issue: can a PHP source file be in utf-8. It's not about the output, that is properly supported. Think it would be a good idea anyhow that PHP would support utf-8 source files as it seems utf-8 is going to be the de-facto standard for text files

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-26 Thread Ashley Sheridan
On Wed, 2010-05-26 at 22:20 +0800, Guus Ellenkamp wrote: We use PHP defines for defining text in different languages. As far as I know PHP files are supposed to be ASCII, not UTF-8 or something like that. What I want to make is a conversion program that would convert a given UTF-8 file