On Thursday 10 September 2015 16:41:00 Graeme Geldenhuys wrote:
> On 2015-09-10 14:08, Martin Schreiber wrote:
> > Then the question: why does it not return the actual codeset?
>
> It seems the problem lies with the Object Pascal code. A minor tweak the
> example C program from the FreeBSD forum proves this.
>
> The following C test program returns the expected value on my system.
>
> =============================
> /* Compile with "gcc48 -W -Wall -o langinfo langinfo_test.c" */
> #include <stdio.h>
> #include <langinfo.h>
> #include <locale.h>
>
> int main()
> {
>       setlocale(LC_ALL,"");
>     printf("%s\n", nl_langinfo(CODESET));
>       return 0;
> }
> =============================
>
Can you check the values of LC_ALL and CODESET in the FreeBSD header files?

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