This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: can't write wide character/string to outputfile


- if you start it was an utf-8--encoding, (like el_GR.UTF-8),
  everything should run fine IF this encoding exists on your machine.

I am a bit confused: what do you mean by encoding? At any rate, I have compiled and run your much improved program and here are the results:

apostolo@mary>> locale
LANG=el_GR.UTF-8
LC_CTYPE="el_GR.UTF-8"
LC_NUMERIC="el_GR.UTF-8"
LC_TIME="el_GR.UTF-8"
LC_COLLATE="el_GR.UTF-8"
LC_MONETARY="el_GR.UTF-8"
LC_MESSAGES="el_GR.UTF-8"
LC_ALL=el_GR.UTF-8
apostolo@mary>> ./loctest
trying to access locale el_GR.UTF-8
Couldn't generate locale el_GR.UTF-8: locale::facet::_S_create_c_locale name not valid
Error when writing to file



Apostolos



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]