hi,
i'm dealing with kind of getting a desired number of letters from a text to be printed out and i'm using php's substr to cut them out. if the text in in form of normal character, it's ok, however, as there are special characters (anyone knows about Vietnamese) which cannot, uh, normally be 'substring-ed'
some special chars like â, ®, ©... require more than 1 bytes.. anybody knows how to handle them?
thx alot :D
i'm dealing with kind of getting a desired number of letters from a text to be printed out and i'm using php's substr to cut them out. if the text in in form of normal character, it's ok, however, as there are special characters (anyone knows about Vietnamese) which cannot, uh, normally be 'substring-ed'
some special chars like â, ®, ©... require more than 1 bytes.. anybody knows how to handle them?
thx alot :D
Comment