2010-03-19 02:16:31     how can i use Chiese in uClinux

Document created by Aaronwu Employee on Aug 21, 2013
Version 1Show Document
  • View in full screen mode

2010-03-19 02:16:31     how can i use Chiese in uClinux

zhong wu (AFGHANISTAN)

Message: 87438   

 

i use BOA server in my uClinux .when i was  trying to  pint   Chinese in my  CGI program , it always return "Invalid multibyte format string" .

 

then i was thinking my  problem  is  from BOA or uClinux ?

 

i wrote a test :

 

//test.c

 

#include<stdio.h>

 

int main()

 

{

 

printf("中文。");      /*print  chinese*/

 

return 0;

 

}

 

arm-elf-gcc -elf2flt -o  test.flt  test.c

 

i  put  test.flt  under  a certern  folder of   uClinux .

 

then i startted my uClinux ( i use minicom )

 

>./test.flt                                  

 

it still  read " Invalid multibyte format string "   , so it is the problem that uClinux can not support Chinese?

 

when i try  :  make xconfig

 

linux kernel configuration->file systems ->native  language support    

 

But  this option is gray ( invalid , can not be  selected )

 

 

 

 

 

how can i use Chinese in uClinux?

 

Really  thank you for your  help!

QuoteReplyEditDelete

 

 

2010-03-19 02:19:51     Re: how can i use Chiese in uClinux

Sonic Zhang (CHINA)

Message: 87439   

 

You need to rebuild your uClibc in toolchain with multibyte character support. Or install the full version of toolchain RPM.

QuoteReplyEditDelete

 

 

2010-03-19 02:42:30     Re: how can i use Chiese in uClinux

zhong wu (AFGHANISTAN)

Message: 87443   

 

thank you !

QuoteReplyEditDelete

Attachments

    Outcomes