use locale; use POSIX 'locale_h'; setlocale( LC_CTYPE, 'hebrew.ISO_8859_8_i');