Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 Unicode 字符串转换为十六进制。
换句话说,我需要将字符串转换أحمد为:
أحمد
0xC3CDE3CF0000000000000000000000000000000000000000000000000000
尝试:
select rawtohex(convert('أحمد','AR8ISO8859P6','AL32UTF8')) from dual;
这是一个 sqlfiddle 演示
select rawtohex(col) from table