On Thursday 10 September 2015 12:33:43 Graeme Geldenhuys wrote:
>
> Is there a way to ask MSEide (or any MSEgui test app) to show me what it
> thinks the value of "Locale" translates to on my system?
>
'Locale' uses iconv for conversion which is initialised by 
lib/common/kernel/linux/cwstring.pas:618
"
initialization
 setlocale(LC_ALL,'');
  { init conversion tables }
 iconv_wide2ansi:=iconv_open(nl_langinfo(CODESET),unicode_encoding);
 iconv_ansi2wide:=iconv_open(unicode_encoding,nl_langinfo(CODESET));
"
In order to show the used encoding change 
lib/common/kernel/linux/cwstring.pas:
"
initialization
 setlocale(LC_ALL,'');
  { init conversion tables }
 writeln(nl_langinfo(CODESET));
"
On Linux it returns "UTF-8" for me and your file is displayed correctly 
with "Locale" encoding.

Martin

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to