Added functions to convert GError messages (which are in UTF-8 charset)
commit15e1db51578744ac74a018843d523ee6a4bff568
authorAndrew Borodin <aborodin@vmail.ru>
Wed, 29 Apr 2009 16:08:33 +0000 (29 20:08 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Wed, 29 Apr 2009 16:08:33 +0000 (29 20:08 +0400)
tree5d890583e205235c466a1c26003721d3f0be04b4
parent45210ad6253baa8d03c1a26afa5d23bc932b552b
Added functions to convert GError messages (which are in UTF-8 charset)
to terminal charset.

src/strutil.h: added conv_gerror_message member to str_class structure.
Added str_conv_gerror_message function declaration.

src/strutil.c (str_conv_gerror_message): new function to convert GError
message to terminal charset.

src/strutil8bit.c (str_8bit_conv_gerror_message): new function to convert GError
message to terminal charset for 8-bit locales.

src/strutilascii.c (str_ascii_conv_gerror_message): new function to convert GError
message to terminal charset for 7-bit locales.

src/strutilutf8.c (str_utf8_conv_gerror_message): new function to convert GError
message to terminal charset for utf-8 locales.
src/strutil.c
src/strutil.h
src/strutil8bit.c
src/strutilascii.c
src/strutilutf8.c