Jump to content

Is input transformed into internal encoding?


a170685

Recommended Posts

Hi All :)

 

"mb_internal_encoding()" sets internal encoding.

What actually this internal encoding is used for?

Is input(POST, GET, data from DB, cookies) transformed into this internal encoding? Or this internal encoding is used only as a default encoding for string processing?

 

Thank you.

It seems I found the corresponding setting in php.ini:

 

; enable automatic encoding translation according to

; mbstring.internal_encoding setting. Input chars are

; converted to internal encoding by setting this to On.

; Note: Do _not_ use automatic encoding translation for

;      portable libs/applications.

mbstring.encoding_translation = On

 

Thanks to all :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.