Hi Folks, I got a problem with the oem2ansi function provided below... MsgBox(0,"",_OEM2ANSI(_ANSI2OEM("é"))) MsgBox(0,"",_OEM2ANSI(_ANSI2OEM("è"))) MsgBox(0,"",_OEM2ANSI(_ANSI2OEM("ç"))) MsgBox(0,"",_OEM2ANSI(_ANSI2OEM("ã"))) MsgBox(0,"",_OEM2ANSI(_ANSI2OEM(""))) Func _OEM2ANSI($what) $ret = DllCall('user32.dll', 'Int', 'OemToChar', 'str', $what, 'str', '') Return $ret[2] EndFunc ;==>_OEM2ANSI Func _ANSI2OEM($what) $ret = DllCall('user32.dll', 'Int', 'CharToOem', 'str', $what,