如何在Windows浏览器中输入Unicode字符?

4

我正在尝试在Windows上的Firefox浏览器内输入该Unicode字符的方法。

字符串:ALT +1c35

我尝试过的方法:

无论您的语言设置如何,此方法都有效,但是输入最麻烦。

按住Alt键不放。 按下数字键盘上的+(加号)键。 键入十六进制Unicode值。 松开Alt键。

遗憾的是,这似乎需要一个注册表设置。它已经在我的电脑上设置好了,但有些读者报告说这种方法对他们无效,这可能就是原因所在。如果您不知道注册表是什么,请不要尝试。在HKEY_Current_User/Control Panel/Input Method下,将EnableHexNumpad设置为“1”。如果必须添加它,请将类型设置为REG_SZ。

来源

问题: 如果你按住 ALT 键并按下 c 键,浏览器会跳转到浏览器菜单。

我不满意每次在论坛等地方需要它时都要从我的桌面或网站复制粘贴此字符。 我已经设置了上述引用中提到的注册表键。

是否有任何方法可以让我在浏览器中输入它?


你有没有阅读你提供的文档中链接的文章的其余部分?如何在Microsoft Windows中输入Unicode字符。你只尝试了其中描述的几种方法中的第一种。你尝试过作者提供的UnicodeInput工具吗? - Remy Lebeau
请参考以下链接:http://superuser.com/questions/13086/how-do-you-type-unicode-characters-using-hexadecimal-codes - nwellnhof
1个回答

1

http://granjow.net/unicode-input.html这个网站提供了一个AutoHotKey脚本,以及一个已编译的exe版本。

以下是源代码:

; (c) 2015 Simon A. Eugster <simon.eu@gmail.com> Public Domain
; This script listens for Shift+Ctrl+u and then shows a unicode input field.
; The unicode point (e.g. 2013 for an en dash) is then inserted in the active application.

; To run, download AutoHotkey from http://www.autohotkey.com/, save this script
; as e.g. UnicodeInput.ahk, and double-click it.

#SingleInstance force
#Persistent
;Menu, Tray, icon, unicode.ico
Menu, Tray, nostandard ; Put the following menu items on top (default: bottom)
Menu, Tray, add, Info, InfoHandler, -10
Menu, Tray, add
Menu, Tray, standard ; Add default menu items at the bottom
return

InfoHandler:
MsgBox Press Shift+Ctrl+U to get an entry field for unicode points (see decodeunicode.org for a list).`n`nAuthor: Simon A. Eugster <simon.eu@gmail.com> / granjow.net
return

+^u::
InputBox, codepoint, Unicode code point, U+
if not ErrorLevel
    Send {U+%codepoint%}
return

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接