r14902: change charcnv code to fail the conversion when it hits bad
authorAndrew Tridgell <tridge@samba.org>
Tue, 4 Apr 2006 02:01:35 +0000 (02:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:00:13 +0000 (14:00 -0500)
commit64485f876152f27fb8052c7a1adc0c96f96a5009
treebcca0d6673359b392a2c5452e2dfb0dfb788fae2
parentb93e9b50ab6ef145d9bb1841b71625cf03a56a15
r14902: change charcnv code to fail the conversion when it hits bad
characters, rather than silently truncating the string. This makes the
code much omre conservative, making it easier to test. It might mean
users hit problems initially, but at least we'll hear about them, and
thus can fix them.
(This used to be commit bb99cbf069db5ab09ecf6c55e4c87d4c28ea8169)
source4/lib/charset/charcnv.c