Text <>Unicode use webviewer and JavaScript.
Can anyone make?
1 Like
This is from Stackoverflow
let str = "このOTPを使用してQuikドライブにログインします。 このOTPを誰とも共有しないでください";
str = str.split("").map( char => addZeros( char.charCodeAt(0).toString(16) ) ).join("");
function addZeros(str){ return ("0000" + str).slice(-4) }
console.log( str );
It works very fine. You just need to change the str part to whatever you want.
1 Like
How to use?
1 Like
Will create a demo for you.
I created this sample project
https://x.thunkable.com/projectPage/60e772a59e53140011621667
and used this file as an asset to test. You need to rename the file from txt to html.
ascii2unicode.txt (552 Bytes)
2 Likes
Is it possible to reverse the encoding?
1 Like
of course.
Now that you receive them as a long string of characters, you can manipulate them in thunkable if you want.
1 Like