https://github.com/jodacame/codeigniter-helper-multibytes-compatibility
Allow basic compatilibity with multibytes functions
https://github.com/jodacame/codeigniter-helper-multibytes-compatibility
ci codeigniter codeigniter-helper codeigniter-library functions helper multibyte-strings
Last synced: 6 months ago
JSON representation
Allow basic compatilibity with multibytes functions
- Host: GitHub
- URL: https://github.com/jodacame/codeigniter-helper-multibytes-compatibility
- Owner: jodacame
- License: mit
- Created: 2018-02-11T13:59:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-11T14:19:54.000Z (almost 8 years ago)
- Last Synced: 2025-06-29T18:02:29.794Z (6 months ago)
- Topics: ci, codeigniter, codeigniter-helper, codeigniter-library, functions, helper, multibyte-strings
- Language: PHP
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Codeigniter Helper Multibytes Compatibilty
It's a simple helper for keep working your code if the server don't have installed multibyte functions library
## The Problem
```
A PHP Error was encountered
Severity: Error
Message: Call to undefined function mb_XXXXXX()
```
## The Basic Solution
- Copy **multibytes_helper.php** into the **application/helpers** directory
- Edit **application/config/autoload.php** file and load **multibytes** helper

## Supported Functions
- mb_strtolower
- mb_strtoupper
- mb_strlen
- mb_substr
- mb_strpos
## Requirements
- Codeigniter installed
**This is a very basic solution for keep running in production your software**