neitanod / forceutf8

PHP Class Encoding featuring popular Encoding::toUTF8() function --formerly known as forceUTF8()-- that fixes mixed encoded strings.
1.63k stars 369 forks source link

how to call the class ? #58

Closed GioMBG closed 7 years ago

GioMBG commented 7 years ago

kindly: how I can call the class ? this make me error: use \ForceUTF8\Encoding; suggestions ? thx

avramovic commented 7 years ago

Have you loaded the class file(s) with include or require?

Maybe use composer to autoload classes: http://getcomposer.org

It will be automagically available in your whole project.