Welcome Guest, Not a member yet? Register   Sign In
Suggestion: Class to handle Strings
#1

A few times over the time I have worked with CodeIgniter on projects that involves East languages (chinese and japanese) ...
In most of the time there were no issues related to those languages but at a few cases where I had to make some "strange things", there were some problems related to using mb_ and not mb_ string functions at the framework. 

So for CI 4 instead of default using both mb_substr or substr I want to suggest making a class to do all the work.
It can be 1class only (I think this is enough) or it can be Abstract class (with all required methods) + Childs (Multibyte / Normal / other..) where 1 of the childs will be autoloaded using the config.
Best VPS Hosting : Digital Ocean
Reply


Messages In This Thread
Suggestion: Class to handle Strings - by sv3tli0 - 09-09-2015, 12:03 AM
RE: Suggestion: Class to handle Strings - by Narf - 09-09-2015, 12:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB