|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ed] [patch] ed treats none UTF-8 |
Date: | Mon, 10 Aug 2009 12:53:32 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello, Takao Fujiwara wrote:
Checking your patch I have discovered that ed does not even have real support for edition of binary files; the control characters aren't correctly (or at all) shown on screen.What do you mean the control characters aren't correctly shown?
Sorry, I didn't explain clearly. I meant "while checking your patch I discovered that the unpatched ed itself does not show correctly (or at all) control characters on screen". Just try a line with a null byte or a "carriage return".
Some binary files include multi-byte chars and people would like to show the multi-byte chars in the binary files.
How can a multi-byte char be recognized as such inside a binary file (arbitrary sequence of bytes)?
I can enhance the patch.
It is not a problem with your patch. It is simply that ed is too limited for what you want it to do.
Regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |