How to read unicode files.
Kye
Posts: 2,200
So I have a file. I know it has text in it but I don't know if it's plan text or unicode plain text.
How would I print the file out like if I were using the UNIX CAT command?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
How would I print the file out like if I were using the UNIX CAT command?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Comments
-Phil
Here's a linux unicode page hektor.umcs.lublin.pl/~mikosmul/computing/articles/linux-unicode.html
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Short answers? Not available at this time since I think you deserve more information than you requested.
<EDIT>
Actually typing in UTF in google is not giving me the best results. This is why I am posting on the fourm. Just how would I print out a UTF or regular ASCII spin file to the parallax serial terminal?
Would I look for FF FE first to see if the file is UTF 16 and then read and interpret every two bytes after that? If that is all then where can I find the lookup table I need to read and understand what the propeller tool uses for its unicode characters.
I know how to print out plain text. That's pretty easy.
Thanks,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Post Edited (Kye) : 3/13/2010 2:32:39 PM GMT
Wikipedia
then check the See Also section
-Steve
Duane
Yes, that's the way.
You find the Unicode values in the CharacterChart in the PropTool.
Attached is a table that I use in one of my Tools to translate the Propeller character codes to Unicode. I don't know if the
PST shows the none ASCII character codes in the same way as the Propeller font.
Andy