Letractively / lightblog

Automatically exported from code.google.com/p/lightblog
Other
0 stars 0 forks source link

Implement mbstring support #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now LightBlog uses the basic string manipulation functions (substr, 
strpos, etc) which are not UTF-8 safe.

I recommend that we move to the mbstring functions. However, to prevent 
compatibility issues with servers that don't support this, we should make 
functions such as utf8_substr for substr, utf8_strpos for strpos, and so on (if 
the mb extension isn't available, it will just use the non-safe versions).

Original issue reported on code.google.com by ian.aldr...@gmail.com on 20 Jun 2012 at 2:00

GoogleCodeExporter commented 9 years ago
I support this motion. Make it so!

Original comment by soren121@outlook.com on 20 Jun 2012 at 2:13

GoogleCodeExporter commented 9 years ago
I have added the utf_* functions in r534 and all source files in the Sources 
directory now use them where appropriate.

Other files will be converted over when I can do so.

Original comment by ian.aldr...@gmail.com on 20 Jun 2012 at 8:08

GoogleCodeExporter commented 9 years ago
It appears that all string function calls have been replaced with their 
respective utf_* functions where necessary.

Original comment by ian.aldr...@gmail.com on 4 Aug 2012 at 4:47