Opened 18 years ago

Closed 18 years ago

#113 closed defect (invalid)

nl_langinfo seems to be broken on x86_64-64

Reported by: ken Owned by: ken
Priority: minor Milestone: CLFS Standard 1.1.0
Component: BOOK Version:
Keywords: ANSI_X34-1968 UTF-8 x86_64-64 Cc:

Description

This one is weird - on x86_64-64, plus ncurses built with wide character support, in a UTF-8 locale vim and less display garbage for many wide characters. On x86_64 multilib, it works correctly. There is a workaround: for vim

:set enc=utf-8

and for less

export LESSCHARSET=UTF-8

Digging around by instrumenting 'less' shows that nl_langinfo for CODESET is now returning ANSI_X34-1968 which results in a character set of ascii. On working systems (CLFS-1.0.0 with wide character support, x86_64 multilib with wide character support, LFS) the correct value ('UTF-8') is returned.

Change History (1)

comment:1 by ken, 18 years ago

Resolution: invalid
Status: newclosed

User error - no locales were installed, setlocale fails for all locales except 'C'.

/me goes of to beat the $#*! out of my buildscript.

Note: See TracTickets for help on using tickets.