问题描述
我在我的网站上安装了阿拉伯文网页字体。但是当我在Textarea上输入任何东西时,我会看到英文字符。当我复制另一个网站的阿拉伯字符,并粘贴到textarea,他们显示完美。
如何直接从我的键盘插入阿拉伯字符?
谢谢,
Zubair
您需要更改键盘语言。根据操作系统的不同,您必须找到如何将您的键盘输入从标准美国设置为阿拉伯语。在Windows 8上,您可以在Windows 7和Vista上转至
控制面板 - >更改输入法 - >添加语言,查看以下。另外,我假设你在HTML文件中包含了
< meta charset =UTF-8>
。
I have installed Arabic web fonts on my website. But when I type anything in a Textarea I see English characters. When I Copy Arabic characters from another website and paste into textarea, they appear perfectly.How can I insert arabic character directly from my keyboard?
Thanks,Zubair
you need to change the Keyboard language. Depending on the operating system you must find how to set your keyboard input from standard US to Arabic. On Windows 8 you go toControl Panel -> Change input methods -> Add a language on Windows 7 and Vista check out the following How to change your keyboard layout. Also I am assuming you have included<meta charset="UTF-8">
in your HTML file.
这篇关于如何在HTML textarea中为非英文字符启用输入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!