Ok... i read my post and it looks to messy. Lets clearify
. What my itend was is:
1. To allow user of codeblocks to specify between encodings: (native-default for os)/UTF-8/US-ASCII/UTF-16/UTF-16LE/UTF-16BE/ISO-8859-1 of project files (source files/rc files/all other)...it will be good if i could specify this similar the other IDE allows it eg. in Eclipse (eclipse.org) in general section of preferences and maybe to allow even specify the extension of filename and their encoding...
I know that not all compilers support switch like -finput-charset in gcc, but it will depend on developer of project to switch between native-default for os which is supported by all C/C++/other compilers or other...
This functionality will allow to write string literals in visual form - so programmer will see e.g. hiragana chars with chineese chars... and mainly see comments in e.g. UTF-8 so documentation generated from them could be seen an UTF-8...
In wxWidgets we have _() macro that translates from native-default for os to Unicode representation of wxWidgets(possibly UTF-16 but now i don't remeber) for string literals if specific flag in compilation is set.
(and wxT() / _T() macros only adds L in unicode build and does nothing in ANSI build (ANSI in terms of native-default for os encoding)).
I anyone could write some helpful info i would appreciate, especially about gettext() function used for i18n.
Thanks in advance and i would be gratefull for any corrections/infos....
Best regards.
Luke from Poland.