FGRibreau / FGRibreau/node-unidecode
Fancy latin script characters aren't handled
未关闭
enhancement
- 主要语言
- JavaScript
- 星标
- 151
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
描述
Basically every character here: https://glyphy.io/cool-symbols/latin
For producing text such as ℳ𝓎 𝓃𝒶𝓂ℯ 𝒾𝓈 ℳ𝒶𝓉𝓉𝒽ℯ𝓌.
It's transliterated as a bunch of whitespace:
```
❯ node
Welcome to Node.js v22.21.1.
Type ".help" for more information.
> const tr = require("unidecode")
undefined
> tr('ℳ𝓎 𝓃𝒶𝓂ℯ 𝒾𝓈 ℳ𝒶𝓉𝓉𝒽ℯ𝓌')
' '
```
贡献指南
调研方向
首先在 Node.js REPL 中使用链接的拉丁字母字符重现该问题,并检查 package 在转写过程中如何映射这些字符。完成的标准是这些字符生成有意义的 ASCII 转写,而不是空白;payload 一开始没有指定任何文件或测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100