From a6a9181818d86219da202137c1697b826a3ea151 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 26 Jun 2008 19:09:07 +0000 Subject: Start support of TCOS 3 cards. Support restriction attribute. Fix utf-8 printing problems. Use AES by default. --- common/ChangeLog | 6 ++++++ common/estream.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/ChangeLog b/common/ChangeLog index 3840eaacd..dcee95bbf 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,3 +1,9 @@ +2008-06-26 Werner Koch + + * estream.c (es_write_sanitized): Loose check for control + characters to better cope with utf-8. The range 0x80..0x9f is + nowadays not anymore accidently used for control charaters. + 2008-06-25 Marcus Brinkmann Revert last three changes related to handle translation. diff --git a/common/estream.c b/common/estream.c index e712e85cd..254fab93a 100644 --- a/common/estream.c +++ b/common/estream.c @@ -3074,7 +3074,7 @@ es_write_sanitized (estream_t ES__RESTRICT stream, for (; length; length--, p++, count++) { if (*p < 0x20 - || (*p >= 0x7f && *p < 0xa0) + || *p == 0x7f || (delimiters && (strchr (delimiters, *p) || *p == '\\'))) { -- cgit v1.2.3