artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdcbf1a
)
Let nl_langinfo(CODESET) return "US-ASCII" as the name of the
author
naddy
<naddy@openbsd.org>
Sun, 12 Apr 2015 20:18:41 +0000
(20:18 +0000)
committer
naddy
<naddy@openbsd.org>
Sun, 12 Apr 2015 20:18:41 +0000
(20:18 +0000)
character codeset for the POSIX/C default locale. This is the
preferred IANA name and also used by FreeBSD.
The previous value "646" was an obscure reference to ISO 646 (= ASCII)
and was not recognized by GNU iconv out of the box.
ok millert@, stsp@
lib/libc/locale/runetable.c
patch
|
blob
|
history
diff --git
a/lib/libc/locale/runetable.c
b/lib/libc/locale/runetable.c
index
7a036ac
..
a669bf5
100644
(file)
--- a/
lib/libc/locale/runetable.c
+++ b/
lib/libc/locale/runetable.c
@@
-376,7
+376,7
@@
_RuneLocale _DefaultRuneLocale = {
{ 0, NULL },
{ 0, NULL },
NULL, 0,
- "
646
",
+ "
US-ASCII
",
&_citrus_ctype_none,
{
{ NULL, NULL, NULL },