Philippe Ribet wrote:
> #include <libintl.h>
> #include <locale.h>
> #include <stdio.h>
>
> int main(){
>   bindtextdomain("test","");
>   textdomain("test");
>   printf(gettext("hello\n"));
>   return 0;
> }

Try this patch:

--- orig.test.c Sat Apr 27 11:23:38 2002
+++ test.c      Sat Apr 27 11:23:54 2002
@@ -1,10 +1,11 @@
 #include <libintl.h>
 #include <locale.h>
 #include <stdio.h>

 int main(){
+  setlocale (LC_ALL, "");
   bindtextdomain("test","");
   textdomain("test");
   printf(gettext("hello\n"));
   return 0;
 }


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to