Hi,
Here are updated versions of patches:
Functions for converting ucs2->utf8 and checking current locale are
moved to util.c.
Function for checking current locale rewrited to use 'setlocale'
instead of external 'locale' cmd call.
Support of UTF is checked just once in 'l23_app_init' and then used
via static var.
Thanks,
Pavel