Encodes lua utf-8 string to ansi. It can be usefull for passing string as parameter to ansi function.