在SQL和PHP中转换为阿拉伯文本 [英] Conversion to arabic text in SQL and PHP

查看:116
本文介绍了在SQL和PHP中转换为阿拉伯文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

本期所需的指导.
请帮助.

在我的Web应用程序中,我有一个页面,其中用阿拉伯语写出了雇员的姓名,并且必须将其插入sql-server 2005数据库表中.当我在运行时显示查询时,它会显示确切的阿拉伯语名称,但是当我检查数据库时,它会输入垃圾值.

现在我尝试否则.我手动将值插入记录中,并尝试在页面中检索它们,但它仅显示诸如??????之类的问号. ???? ??????
无论哪种方式,即从页面到数据库或从数据库到页面我都获得垃圾值.

任何指导都是高度可取的..
等待响应..

Guidance required in this issue.
Kindly Help.

In my web application i have a page in which i write the names of the employees in arabic and have to insert them in the sql-server 2005 database table. When i show the query during runtime it shows the exact arabic names but when i check the database it is inputted with garbage value.

Now i tried otherwise. I inserted the values in the record manually and tried to retrieve them in the page but it is showing only question marks like ?????? ???? ?????.
Either way i.e from page to database or database to page i get the garbage value.

Any guidance would be highly appreciable..
Waiting for response..

推荐答案

您在数据库中存储了正确的值.您缺少阿拉伯语区域设置MUI.您需要安装语言包,以便可以正确看到该语言环境中的文本.

在此处阅读有关它们的所有信息:多用户界面(MUI)语言包 [ ^ ]
You have correct values stored in DB. You are missing the Arabic Locale MUI. You need to install the language pack such that the text in that locale can be seen properly.

Read all about them here: Multiple User Interface (MUI) Language Packs[^]


这篇关于在SQL和PHP中转换为阿拉伯文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆