PHP » PYTHON |
login |
register |
about
|
PYTHON mb_convert_encoding
is this article helpful?
|
Python replacement for PHP's mb_convert_encoding
[
edit
| history
]
"string".decode('from-encoding').encode('to-encoding')
mb_convert_encoding(PHP 4 >= 4.0.6, PHP 5) mb_convert_encoding — Convert character encoding DescriptionConverts the character encoding of string str to to_encoding from optionally from_encoding . Parameters
Return ValuesThe encoded string. Examples
Example #1 mb_convert_encoding() example
<?php
|
more
Recently updated
more
Most requested
more
Last requests
|