Opened 11 months ago

Last modified 11 months ago

#5409 closed defect

Fix C.UTF-8 locale definition — at Version 2

Reported by: Xi Ruoyao Owned by: lfs-book
Priority: normal Milestone: 12.1
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description (last modified by Xi Ruoyao)

In Glibc we have:

localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true

This is causing a test failure in epiphany-45.2:

not ok /src/ephy-encodings/create - epiphany:ERROR:../tests/ephy-encodings-test.c:47:test_ephy_encodings_create: assertion failed (ephy_encoding_get_collation_key (encoding) == "Unicode (UTF-8)"): ("Wpkeqfg\"*WVH/:+" == "Unicode (UTF-8)")
Bail out!

To me we should just use

localedef -i C -f UTF-8 C.UTF-8

instead. It fixes the epiphany test failure for me. And it also removes the necessity of 2>/dev/null || true.

Change History (2)

comment:1 by Xi Ruoyao, 11 months ago

Type: enhancementdefect

comment:2 by Xi Ruoyao, 11 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.