Fix garbled message text: Difference between revisions

Jump to navigation Jump to search
m
Line 103: Line 103:
</table>
</table>


=== text start with \u symbol ===
=== text starting from \u symbol ===
Using PHP. Type is string
Using PHP. Type is string
<pre>
<pre>
Line 139: Line 139:
</pre>
</pre>


=== text start with \x symbol ===
=== text starting from \x symbol ===
Using Python<ref>[https://docs.python.org/3/library/stdtypes.html#bytes.decode bytes.decode()]</ref><ref>[https://docs.python.org/3/library/stdtypes.html#str.encode str.encode()]</ref><ref>[https://stackoverflow.com/questions/33294213/how-to-decode-unicode-in-a-chinese-text python - How to decode unicode in a Chinese text - Stack Overflow]</ref>
Using Python<ref>[https://docs.python.org/3/library/stdtypes.html#bytes.decode bytes.decode()]</ref><ref>[https://docs.python.org/3/library/stdtypes.html#str.encode str.encode()]</ref><ref>[https://stackoverflow.com/questions/33294213/how-to-decode-unicode-in-a-chinese-text python - How to decode unicode in a Chinese text - Stack Overflow]</ref>
<pre>
<pre>

Navigation menu