UTF-8 encode and decode: Difference between revisions
Content added Content deleted
(→{{header|Java}}: remove duplicate code, remove antique exception) |
|||
Line 414: | Line 414: | ||
€ EURO SIGN U+020AC E2 82 AC € |
€ EURO SIGN U+020AC E2 82 AC € |
||
𝄞 MUSICAL SYMBOL G CLEF U+1D11E F0 9D 84 9E 𝄞 |
𝄞 MUSICAL SYMBOL G CLEF U+1D11E F0 9D 84 9E 𝄞 |
||
</pre> |
|||
=={{header|PMathematica}}== |
|||
<lang Mathematica>utf = ToCharacterCode[ToString["AöЖ€", CharacterEncoding -> "UTF8"]] |
|||
FromCharacterCode[utf, "UTF8"]</lang> |
|||
{{out} |
|||
<pre>{65, 195, 182, 208, 150, 226, 130, 172} |
|||
"AöЖ€" |
|||
</pre> |
</pre> |
||