Using utf8:
the input string is: 01ā3€5
it's length is: 6
the 0th character is 0
the 1th character is 1
the 2th character is ā
the 3th character is 3
the 4th character is €
the 5th character is 5
----------
Without using utf8:
the input string is: 01Ä3â¬5
it's length is: 9
the 0th character is 0
the 1th character is 1
the 2th character is Ä
the 3th character is
the 4th character is 3
the 5th character is â
the 6th character is
the 7th character is ¬
the 8th character is 5