oracle数据库中的阿拉伯字符
亲爱的大家,我正在努力做到以下几点。
我想在我的数据库中存储阿拉伯字符,但问题是它们的存储方式是“???” ????'。我尝试过这些功能:
msg_txt:=convert(msg_txt, 'AR8MSWIN1256', 'AR8ISO8859P6');
但我收到此错误:
ORA-01858: a non-numeric character was found where a numeric was expected
请问有什么建议吗?
谢谢
Dear all, I am trying to do the following.
I want to store Arabic characters in my database but the problem they are stored like that '??? ????'. I have tried with these function:
msg_txt:=convert(msg_txt, 'AR8MSWIN1256', 'AR8ISO8859P6');
but I got this error:
ORA-01858: a non-numeric character was found where a numeric was expected
any suggestion please?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的数据库和国家字符集是什么?如果您不确定
msg_txt 变量的数据类型是什么? CHAR/VARCHAR2?或者 NCHAR/NVARCHAR2?
What is your database and national character set? If you're not sure
What is the data type of the msg_txt variable? CHAR/ VARCHAR2? Or NCHAR/ NVARCHAR2?
确保数据类型为
nvarchar
(unicode)make sure the data type is
nvarchar
(unicode)