mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-23 01:50:13 +08:00
Update src/main/utils/mcp.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
59c606eac6
commit
4d9f75b0ee
@ -1,12 +1,5 @@
|
||||
import { transliterate } from 'transliteration'
|
||||
|
||||
/**
|
||||
* Transliterate non-ASCII characters to ASCII equivalents
|
||||
* - Chinese → Pinyin (e.g., 行驶证 → xingshizheng)
|
||||
* - Japanese → Romaji (e.g., ユーザー → yūzā)
|
||||
* - Korean → Romanization (e.g., 사용자 → sayongja)
|
||||
* - Other special characters → underscores
|
||||
*/
|
||||
/**
|
||||
* Transliterates non-ASCII text (including CJK characters) to ASCII-compatible format.
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user