|
From: | Hans Aberg |
Subject: | Re: The “binary-friendly” Latin-1 |
Date: | Tue, 25 Jan 2011 11:19:01 +0100 |
On 25 Jan 2011, at 00:21, Mike Gran wrote:
2. The #f <=> "ISO-8859-1" equivalence for ‘port-encoding’ and ‘set-port-encoding!’. Likewise, commit d9544bf012b6e343c80b76bd5761b1583cc106a3 makes ‘port-encoding’ always return a string and pt->encoding always be non-NULL.Is the cost of doing the various string comparisons of port-encoding strings negligible? It was put in as a (premature) optimization.
If you decide to keep it, an idea that comes to my mind add #t for UTF-8, which seems a better default nowadays and in the future.
[Prev in Thread] | Current Thread | [Next in Thread] |