|
From: | Earl Hood |
Subject: | Re: [Nmh-workers] nmh architecture discussion: format engine character set |
Date: | Tue, 11 Aug 2015 12:00:36 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 8/11/2015 11:33 AM, Ken Hornstein wrote:
Well, this works great if your locale is UTF-8. But ... what happens if your email address contains UTF-8, and your locale setting is ISO-8859-1?Let me expand on this a bit, because I didn't explain it well. Obviously if your locale is ISO-8859-1, you probably won't have an email address that contains UTF-8. But ... what if you get an email with a 'From' address that contains UTF-8, , and you want to reply to it? Right now convert stuff to the local character set when constructing the reply draft; we can't do that here!
Yep. One apparent deficiency of internalized email headers is the inability to encode characters. The MIME non-ASCII encoding syntax is limited to specific contexts and not applicable for addresses. An address encoding syntax should exist for the scenario you describe, allowing one the encode characters that cannot be represented natively in the current locale. However, it seems folks no longer want to support such environments. I guess if nmh ever encounters the scenario, it just errors out. --ewh
[Prev in Thread] | Current Thread | [Next in Thread] |