On Thursday 10 September 2015 13:41:30 Graeme Geldenhuys wrote:
> On 2015-09-10 12:26, Martin Schreiber wrote:
> > 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.
>
> [msegui (wip)]$ ./mseide.freebsd.elf
> US-ASCII
>
>
> I guess that would explain it! :) I tried the following...
>
> [msegui (wip)]$ export LC_ALL=en_GB.UTF-8
> [msegui (wip)]$ ./mseide.freebsd.elf
> US-ASCII
>
> But as you can see, that made no difference either. Is this expected
> behaviour?
>
Probably not. Do "setlocale()" and "nl_langinfo()" work different on Linux and
FreeBSD?
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