Home > Back-end >  Build a UCS-2 encoded HEX string from a Javascript default string encoding
Build a UCS-2 encoded HEX string from a Javascript default string encoding

Time:12-27

How to build a UCS-2 encoded HEX string from a Javascript "basic" string, but only using web api (browser or Deno) features ?

In other words, how to convert the following node code but for the browser ?

message = "hello world            
  • Related