Text Decoder - UTF-8 Decoder.
Posted: 28 Aug 2010 23:37
(This may not be fully understood since some machines will interpret and display characters as they are and other will translate them all, but... let's try!)
People:
has this ÇÃ (something like A+Af, for those who will have it appearing as the next same string "çã") in the code as input but will produce "çã" (c, cedilla, a, tilde) as output.
So I'd like to have something like:
but no matter which parameter I use (t, b, u) the thing doesn't properly writes a "decoded" file having this stuff like "ÇÃ" ("A+Af") visually translated as "çã" ("c, cedilla, a, tilde").
How do I incorporate the "utf8decode" function into this?
Using
displays a numbered loop of the clipboard content correctly decoded. Confuse, therefore useless.
shows clipboard content UN-decoded.
pops a window with the correct content decoded, but I can't grab it and edit/copy.
Also, decoded text displays both "Á" and "Í" as "?"
I'd like to simply have a text decoder that could grab UTF-8 encoded text out of clipboard and have it decoded as a .txt in the current folder.
Any help, please...?
Thanks!
TAG: UTF-8 decoder - UTF8 - weird character - corrupted - unreadable
People:
Code: Select all
::writefile("<curpath>\Decoded.txt", ÇÃ, ,"b"); open "<curpath>\Decoded.txt";So I'd like to have something like:
Code: Select all
::writefile("<curpath>\Decoded.txt", <clipboard>, ,"b"); open "<curpath>\Decoded.txt";How do I incorporate the "utf8decode" function into this?
Using
Code: Select all
::text report(utf8decode(<clipboard>))Code: Select all
::text report "utf8decode <clipboard>"Code: Select all
::msg(utf8decode(<clipboard>))Also, decoded text displays both "Á" and "Í" as "?"
I'd like to simply have a text decoder that could grab UTF-8 encoded text out of clipboard and have it decoded as a .txt in the current folder.
Any help, please...?
Thanks!
TAG: UTF-8 decoder - UTF8 - weird character - corrupted - unreadable
