It didn't do the trick fr some reason.. here is my config:

CONFIG_UNICODE_SUPPORT=y
# CONFIG_UNICODE_USING_LOCALE is not set
# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set
CONFIG_UNICODE_COMBINING_WCHARS=y
CONFIG_UNICODE_WIDE_WCHARS=y
# CONFIG_UNICODE_BIDI_SUPPORT is not set
# CONFIG_UNICODE_NEUTRAL_TABLE is not set
CONFIG_UNICODE_PRESERVE_BROKEN=y


I also tested with CONFIG_UNICODE_USING_LOCALE enabled with the same result.
Can it be because of bad terminal set in TERM envvar? Only linux2.2 make TUI looks as it designed.


On 18.11.2014 14:06, Richard Moore wrote:
Hi,

It wont work if set in init, it needs to be set after the shell is started.

(I made a patch ash.c to force it to always be set though if that is helpful, if you look at the mailing list archive it should be there)

Regards

Rich



On 18/11/14 11:02, Lavrentiy Ivanov wrote:
I tested with
export ru_RU.UTF-8
This was set in init script
I created file with russian chars in it and it also displayed as ???? but it seems to be ls-related. I saw uch an issues in mailing list
In my case it is not displayed at all

On 18.11.2014 13:25, Richard Moore wrote:
Hi,

You need to set LANG, and it needs to be set in the controlling terminal, e.g.

export LANG=en_US.UTF-8


Cheers

Rich



On 18/11/14 09:47, Pugnator wrote:
Hi all,
I write ncurses based application which utilizes russian characters. It looks like this:

wchar_t *unicode_string = L"Это юникод";
mvwprintw(stdscr,1,5,"%ls", unicode_string);

And it works pretty well on my desktop.
I enabled all UNCIODE_ config options I found

I enabled terminal: export TERM="linux2.2"

I copied terminfo into my busybox system (kernel 3.2)
When I run my application, only ascii is printed. Unicode chars are absent: no garbage or whatever.

How it can be workarounded if it is possible. Application is dynamically linked and all libraries were transferred too


_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox




_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to