RE: [PHP] Strange characters

2005-05-11 Thread Murray @ PlanetThoughtful
> I dunno what the hell 0x96 is in MS Word, but if you want a dash, use an > ASCII dash and be done with it. :-) > > Or, if you REALLY want that "ASCII extended" Linux dash (assuming it > exists) I'm sure you can strtr(0x96, 0xYY, $string) and get it. > > Then it won't work on Windows, of course,

RE: [PHP] Strange characters

2005-05-11 Thread Richard Lynch
On Wed, May 11, 2005 5:32 am, Carl Furst said: > Yeah, the solution I use was posted to the user comments on the strtr > command page which is also documented as a better solution than > str_replace > except for the one caveat that it will only try and change a character > once, > and some of the h

RE: [PHP] Strange characters

2005-05-11 Thread Carl Furst
hp-general@lists.php.net Subject: Re: [PHP] Strange characters On Tue, May 10, 2005 9:43 pm, Carl Furst said: > I have a question about an odd phenomenon. It doesn't have much to do with > PHP except that I used strtr to solve it, and it maybe that the problem is > being caused by

Re: [PHP] Strange characters

2005-05-11 Thread Petar Nedyalkov
On Wednesday 11 May 2005 07:43, Carl Furst wrote: > I have a question about an odd phenomenon. It doesn't have much to do with > PHP except that I used strtr to solve it, and it maybe that the problem is > being caused by a setting in PHP, but I would like to get some more > background info as to w

Re: [PHP] Strange characters

2005-05-11 Thread Richard Lynch
On Tue, May 10, 2005 9:43 pm, Carl Furst said: > I have a question about an odd phenomenon. It doesn't have much to do with > PHP except that I used strtr to solve it, and it maybe that the problem is > being caused by a setting in PHP, but I would like to get some more > background info as to why

[PHP] Strange characters

2005-05-10 Thread Carl Furst
I have a question about an odd phenomenon. It doesn't have much to do with PHP except that I used strtr to solve it, and it maybe that the problem is being caused by a setting in PHP, but I would like to get some more background info as to why this is happening. On a typical Windows system, mos