Skip to content

标题如何unicode转中文 #4078

Answered by 821938089
sky-bbk asked this question in Q&A
Aug 9, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

查了一下,还需要把\u替换成%u才能解码

unescape(title.replace(/\\u/g, "%u"))

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@sky-bbk
Comment options

@821938089
Comment options

@821938089
Comment options

Answer selected by sky-bbk
@sky-bbk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants