local str = "KORYTNAČKA"for c in str:gmatch("[\x0-\x7F\xC2-\xF4][\x80-\xBF]*") do print(c) end
Standard input is empty
KORYTNA KA
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!