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

2010-05-31 Thread Angus Mann
Dear Sir/Madam Please unsubscribe Angus Mann angusm...@pobox.com from your database. My husband passed away 6 May 2010. Thank you Sonya Mann - Original Message - From: "tedd" To: Sent: Monday, May 31, 2010 12:20 AM Subject: Re: [PHP] Convert UTF-8 to PHP defines A

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 Glyp

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 speci

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-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 whil

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 lar

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

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: http://

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 eac

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

2010-05-28 Thread Richard Quadling
On 28 May 2010 04:47, Guus Ellenkamp wrote: > And I need(ed) this stuff especially for non-ASCII characters like Chinese, > Arabic and stuff :) > > "Ashley Sheridan" wrote in message > news:1274976794.2202.274.ca...@localhost... > On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: > >> On

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

2010-05-27 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 seem

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 anyhow.

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" 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, Guus Ellenkamp > wrote: >

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-s

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 > rea

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 wit

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 > >> wrote: > >> > >> > Thanks, but are you sure of that? I did some research a while ago 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 >> 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 speci

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 break

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 > 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

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 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 to

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 li

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" wrote in messa

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

2010-05-27 Thread Andre Polykanine
[PHP] Convert UTF-8 to PHP defines 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 with the format definetext1=this

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

[PHP] Convert UTF-8 to PHP defines

2010-05-26 Thread Guus Ellenkamp
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 with the format definetext1=this is a text in random UTF-8, proba