【问题标题】:How to type Unicode Character on Windows in Browser?如何在 Windows 上的浏览​​器中输入 Unicode 字符?
【发布时间】:2016-07-11 08:04:34
【问题描述】:

我正在尝试在 Windows 上的浏览​​器 (Firefox) 中输入 this Unicode Character 的方法。

字符串: ALT +1c35

我试过的方法:

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

按住 Alt 键。 按数字小键盘上的 +(加号)键。 键入十六进制 unicode 值。 松开 Alt 键。

唉,这似乎需要注册表设置。我的电脑上已经设置好了,但是有读者反映这个方法没有 为他们工作,这可能就是原因。如果你不知道是什么 注册表是,请不要尝试这个。在 HKEY_Current_User/Control 下 面板/输入法,将 EnableHexNumpad 设置为“1”。如果一定要加, 将类型设置为 REG_SZ。

Source

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

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

有什么方法可以让我在浏览器中输入它吗?

【问题讨论】:

标签: windows unicode char unicode-string


【解决方案1】:

http://granjow.net/unicode-input.html 该站点为您提供了用于 AHK 的 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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-08-08
    • 1970-01-01
    • 1970-01-01
    • 2011-03-09
    相关资源
    最近更新 更多