, and this is
necessary for my purposes because I need to do work on each character. Also,
by character I mean, for example: 我.
Thanks,
delsvr
--
View this message in context:
http://www.nabble.com/PHP%2C-mbstring%2C-UTF-8-and-indexing-strings-tf3972397.html#a11275585
Sent from the PHP - General mailing list archive
delsvr wrote:
Just a simple question (with a simple answer, hopefully): how can I access
character x of a utf-8 encoded string? i.e. how would I get this to work:
for($x=0; $x strlen($utf8); $x++)
echo character {$x}: . $utf8{$x};
Keep in mind that I have strlen overloaded by mbstring,
://www.php.net/unsub.php
--
View this message in context:
http://www.nabble.com/PHP%2C-mbstring%2C-UTF-8-and-indexing-strings-tf3972397.html#a11280535
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
anyone know how I could do this automatically, as in is there
anything that will convert a string to UTF-8 automatically
ideally $fixed = convert-to-utf($oldmessedupstring)
any ideas? Will CDATA sections allow non UTF-8 text?
Russ Jones
--
PHP General Mailing List (http://www.php.net
;wiltgen.net]
Sent: Wednesday, November 13, 2002 12:48 AM
To: List ? PHP General
Subject: Re: [PHP] PHP and UTF-8
Gerard Samuel wrote...
Do you store this utf-8 stuff only in xml files?? Do you use a
database? I
was under the impression that mysql doesn't support utf-8
Yeah, that would
Hello,
I anyone out there using UTF-8 for files and databases? I want to use it
for everything, and it'd be a major hassle if PHP's UTF-8 support was super-
dependent on underlying OS issues, so any feedback is appreciated.
-- Charles
Charles Wiltgen wrote...
How mature is PHP's support for
I utf8_encode and utf8_decode all data that I put into XML files. The
application is on a large site so it is thoroughly tested and has encoded and
decoded data without problems. I have run the application on Linux Slackware
and FreeBSD.
Quoting Charles Wiltgen [EMAIL PROTECTED]:
Hello,
I
Do you store this utf-8 stuff only in xml files??
Do you use a database? I was under the impression that mysql doesn't
support utf-8
[EMAIL PROTECTED] wrote:
I utf8_encode and utf8_decode all data that I put into XML files. The
application is on a large site so it is thoroughly tested and has
Gerard Samuel wrote...
Do you store this utf-8 stuff only in xml files?? Do you use a database? I
was under the impression that mysql doesn't support utf-8
Yeah, that would be a problem. I didn't think MySQL would be an issue, and
I'll investigate...
-- Charles Wiltgen
--
PHP General
Hello,
How mature is PHP's support for UTF-8, real-world? Is it ubiquitous enough
to use for commercial applications that'll be running on systems that you
don't configure yourself?
From the notes in the documentation, it sounds like there are dependencies
on the underlying OS, and that I
10 matches
Mail list logo