lib/util/charset: Remove 'display charset'
authorAndrew Bartlett <abartlet@samba.org>
Tue, 21 Jun 2011 23:52:31 +0000 (09:52 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 23 Jun 2011 11:47:27 +0000 (13:47 +0200)
commit125a2ff262aa312df20eec68802fd5f8a47f492f
tree7308c0b58fa7016d8d174f2b50db32567f204895
parent6c3cef773a989f175c518b435feebab287a58cf0
lib/util/charset: Remove 'display charset'

As discussed in 'CH_DISPLAY and gettext' on the samba-technical list:
http://lists.samba.org/archive/samba-technical/2011-June/078190.html

Setting this to a value other than 'unix charset' does not make sense,
as any system where the filesytem charset does not equal the terminal
charset will already have problems with programs as simple as 'ls'.
It also means that our output could not be pasted as our input in
interactive programs or onto our command line, as we never did
translate in the DISPLAY -> UNIX direction.

The d_printf() calls are retained in case we need to revisit this, and
to support display_set_stderr().

Andrew Bartlett
13 files changed:
lib/util/charset/charset.h
lib/util/charset/codepoints.c
lib/util/charset/tests/convert_string.c
lib/util/charset/util_str.c
lib/util/dprintf.c
librpc/ndr/ndr_string.c
source3/build/charset.py
source3/configure.in
source3/include/proto.h
source3/param/loadparm.c
source3/param/loadparm_ctx.c
source4/param/loadparm.c
source4/param/util.c