An open API service indexing awesome lists of open source software.

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

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**