如何在HTML textarea中为非英文字符启用输入? [英] How to enable typing for non-english characters in a HTML textarea?

查看:289
本文介绍了如何在HTML textarea中为非英文字符启用输入?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的网站上安装了阿拉伯文网页字体。但是当我在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 to Control 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中为非英文字符启用输入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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