Despite your registration name your code looks very wrong for me. I strongly 
assume that pairs iterates over bytes, not over runes. Inspect the runes module 
and maybe try something like:
    
    
    import unicode
    var str = "\u5f7c\u884c\u3067"
    #for key, value in pairs(str):
    for r in runes(str):
      #echo runeAt(str, key)
      echo r
    
    
    Run

Reply via email to