From 0a682b6cd5f70e94b84fa17022554b48c97a63bd Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Thu, 16 Aug 2018 21:17:32 -0400 Subject: Fix utf8clean not replacing incomplete final character MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before, it was just dropped, but we document that it's replaced by ?. Tests updated, manual test-case for -be prompt is: ${utf8clean:${length_1:フィル}} --- test/scripts/0000-Basic/0600 | 1 + 1 file changed, 1 insertion(+) (limited to 'test/scripts') diff --git a/test/scripts/0000-Basic/0600 b/test/scripts/0000-Basic/0600 index 9d5e67b5b..43f728822 100644 --- a/test/scripts/0000-Basic/0600 +++ b/test/scripts/0000-Basic/0600 @@ -10,6 +10,7 @@ x-test-header-good2: ßüöä€ÜÖÄ´ऑकजᐁᑌᑕ𫝆𫟘 x-test-header-too-short: ...ä-.-Ü....-.-..-.-.-.-.-..-... x-test-header-too-long: -ä---Ö-Ä-´-ऑ-क-ज-ᐁ-ᑌ-ᑕ-𫟆 x-test-header-too-big: -----󀀀 +x-test-header-truncated: Subject: This is a test message. This is a test message. -- cgit v1.2.3