So konvertieren Sie eine Zeichenfolge (HTML -Entität) in ein Unicode -Zeichen

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: So konvertieren Sie eine Zeichenfolge (HTML -Entität) in ein Unicode -Zeichen

by Anonymous » 22 May 2025, 21:52

Ich habe eine Zeichenfolge wie < /p>

Code: Select all

const mystring1 = "&#x1F601;" // -> 😉
const mystring2 = "&#x1234;"  // -> ሴ
const mystring3 = "&#x40;"    // -> @
Wie erhalte ich die Unicode -Zeichen mit String.fromCodePoint () ?

Top