PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
jasongr
Forum Contributor
Posts: 206 Joined: Tue Jul 27, 2004 6:19 am
Post
by jasongr » Mon Dec 27, 2004 3:28 am
Hello
I have a UTF8 encoded string.
Is it possible to get access to the string bytes?
If so, how
I need to perform some manipulations on them
regards
panoramical
Forum Newbie
Posts: 8 Joined: Mon Dec 27, 2004 6:34 am
Post
by panoramical » Mon Dec 27, 2004 6:44 am
Would filesize() work?
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Mon Dec 27, 2004 7:10 am
$string{0} - first byte,
$string{4} - fifth byte and so on...
jasongr
Forum Contributor
Posts: 206 Joined: Tue Jul 27, 2004 6:19 am
Post
by jasongr » Tue Dec 28, 2004 4:05 am
thanks for the help