无法使用php在Ajax中发布阿拉伯语文本 [英] Unable to post arabic text in Ajax using php

查看:71
本文介绍了无法使用php在Ajax中发布阿拉伯语文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想尝试使用POST方法将阿拉伯语单词插入到Ajax数据库中。

例如我想插入Ê但我得到的是%u062A相反......有人可以帮助我吗?

提前谢谢

hi i''m trying to insert an Arabic word into the database in Ajax using the POST method .
for example i want to insert "ت" but i''m getting "%u062A" instead ... does any one can help me ?
thanks in advance

推荐答案

你正在使用什么编码?


你好我''使用UTF-8并感谢您的帮助:)
Hi i''m using UTF-8 and thanks for your help :)


HM ...听起来像编码问题。从HTML和文件编码到数据库表和字段的所有UTF-8都是吗?您是否尝试将值直接插入数据库?
HM... It does sound like encoding issue. Is everything UTF-8 from HTML and file encoding to database tables and fields? Did you try inserting values directly into database?


这篇关于无法使用php在Ajax中发布阿拉伯语文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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