Fix configdir encoding
commite44e00afe02c980068cbca0ca3870b0b2a663397
authorDimitar Zhekov <dimitar.zhekov@gmail.com>
Fri, 18 Sep 2015 16:38:42 +0000 (18 19:38 +0300)
committerColomban Wendling <ban@herbesfolles.org>
Thu, 29 Oct 2015 22:37:29 +0000 (29 23:37 +0100)
treef31375e49040fee6fccaeb3df25f5e7ec050d047
parent4c6bd09b5a67064a92c36c77776246d18b20f40d
Fix configdir encoding

configdir is initially in locale (glib) encoding. Converting it from
UTF-8 is wrong, and it must be converted _to_ UTF-8 when used in
geany_debug() - otherwise, Help -> Debug Messages fails assertion.
POSIX only, under Windows the glib encoding is also UTF-8.

Closes #658.
src/libmain.c