Subject: fmt and high bit characters
To: None <tech-userlevel@netbsd.org>
From: None <abs@purplei.com>
List: tech-userlevel
Date: 09/28/2000 14:12:28
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--0-164792276-970146748=:289
Content-Type: TEXT/PLAIN; charset=US-ASCII
Currently fmt strips any characters with high bits.
This makes is pretty much useless for formatting (or centering :)
european text with accented characters and suchlike. Its made
harder by the fact you may be exchanging email or working with
a file that has been sent by someone ina different locale.
Some options:
- Apply attached patch to allows characters > 127.
- Allow characters > 127 via option ('-8'?)
- Do nothing.
What do people think?
David/absolute
-- www.netbsd.org: No hype required --
--0-164792276-970146748=:289
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=diff
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.21.0009281412280.289@localhost>
Content-Description:
Content-Disposition: attachment; filename=diff
SW5kZXg6IGZtdC5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmls
ZTogL2N2c3Jvb3QvYmFzZXNyYy91c3IuYmluL2ZtdC9mbXQuYyx2DQpyZXRy
aWV2aW5nIHJldmlzaW9uIDEuMTMNCmRpZmYgLXUgLUIgLXIxLjEzIGZtdC5j
DQotLS0gZm10LmMJMjAwMC8wOS8xOCAxMzo0Mjo1MwkxLjEzDQorKysgZm10
LmMJMjAwMC8wOS8yOCAxMzowODo0OQ0KQEAgLTIwMiw3ICsyMDIsNyBAQA0K
IAkJCQljID0gZ2V0YyhmaSk7DQogCQkJCWNvbnRpbnVlOw0KIAkJCX0NCi0J
CQlpZighKGlzcHJpbnQoYykgfHwgYyA9PSAnXHQnKSkgew0KKwkJCWlmKCEo
aXNwcmludChjKSB8fCBjID09ICdcdCcgfHwgYyA+IDEyNykpIHsNCiAJCQkJ
YyA9IGdldGMoZmkpOw0KIAkJCQljb250aW51ZTsNCiAJCQl9DQo=
--0-164792276-970146748=:289--