Hope that there is way of using OS system tools to make this task. And probably this will be the best way to look at.
But, about five years ago I was trying to do the similar decoding from
UTF-8 in pure G. I don't remember the all details, but attached you'll
find my trial in LabVIEW. Two steps I remember from UTF-8 to
unicode and then from unicode to ASCII. From unicode I was used a
workaround for russian language characters in unicode set, so you'll
find constant language code 848 found for russian language. Try to
discover this constant for your language if it's not for complex asian
or similar language with another unicode scripring.
This is not certified and/or fully tested code. Look at this vi's as an
experimental ones I've made to quickly fiil the hole in the project
flow. Play with this if you like. Hope that I found the latest vi's.
I'd not recommend digging very deep into unicode though. Complex task.
For reference ( UTF-8):
http://www.faqs.org/rfcs/rfc2279.html
Sergey