Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #224916
| Path | csiph.com!2.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder7.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | davidson <davidson@freevolt.org> |
| Newsgroups | linux.debian.user |
| Subject | Re: how u mine 4 utf8 [was Re: Using .XCompose] |
| Date | Sat, 18 Jul 2020 09:20:01 +0200 |
| Message-ID | <AtPix-6Iv-7@gated-at.bofh.it> (permalink) |
| References | <Aps1b-c3-3@gated-at.bofh.it> <Aps1b-c3-1@gated-at.bofh.it> <ApEOJ-839-3@gated-at.bofh.it> <ApPqO-686-19@gated-at.bofh.it> <ApXy1-2Jo-7@gated-at.bofh.it> <AqMAx-8gV-3@gated-at.bofh.it> <AqWTf-6aG-3@gated-at.bofh.it> <AqWTf-6aG-1@gated-at.bofh.it> <Arjd7-4cJ-9@gated-at.bofh.it> <ArkVz-5gw-1@gated-at.bofh.it> <ArLCp-4oG-3@gated-at.bofh.it> <AsZ0B-7St-5@gated-at.bofh.it> <AtgXw-1P5-13@gated-at.bofh.it> <AtJG9-3fx-5@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Sat Jul 18 07:14:11 2020 |
| Old-Return-Path | <davidson@freevolt.org> |
| X-Amavis-Spam-Status | No, score=-6.8 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=freevolt.org; s=201902; t=1595056433; bh=ckWvBRXFNTrtShAAedxC4jnamAc/l4T18s2rFc9Nr0U=; h=Date:From:To:Subject:In-Reply-To:References:From; b=JSpZs0mEsAy/MUHHjhJjRZAkVVID291f9GdnZUJKwfllsQKW4UMqSn2HJxMz71yN2 yNe6gBquarznTuEwWMYFz5VaEIOkehkQjntCJi2xmU1Ejrjlt1Wyydnit+UEgLTeKb IY596pF/JZU3X/mP/P9ck4nFkD8/hJJlAqIVu1PIsgrU68i+bIm1XCWjLmbJGWlTvl 7ZZFlqOcY+4hmaYi0Lisc3OTASSy+ZOHeLzgU+sPda1AK3wFhE13ETeisMTZt7jqI2 MUl+eT05RN+t577ftZnXNOdZsyX+F711DxmClrqUxrE36pk23pR0+cL7FzlPfvFXKr aw/ckBayZGXPg== |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=freevolt.org; s=201902; t=1595056432; bh=ckWvBRXFNTrtShAAedxC4jnamAc/l4T18s2rFc9Nr0U=; h=Date:From:To:Subject:In-Reply-To:References:From; b=hIUQOXkyEhqjMR3kKwoaKQsq+4iAKBd0XlPZqK/nMcp6RlImvK/obwaWl5lMZTGTS UMcp/4WDz7paANK2485IvIQeaSMpQcJV+diy73ZFjkE1deGX1BD4DjvztDU1KanvGa ML35zcR5TQjCgjey9jB4mLG/R1CXosINi3qQN3FFPpXFjYz6ZEDlqayYDlwFzct+6j Y0pJQgQR1ASBV7StD/ihCmRg03JpPF+KeZVnu6DTfSptFp0m2dLLAc88PIPTolBwrH k8Ks33ZdOMbrq7j4mHHGvgTSXT+GmVNAscTAQtcnyHecvCmfhP9qNLkOmqi9uHfOEp O/+GFDC/Us2Vg== |
| X-X-Sender | davidson@azone.org |
| User-Agent | Alpine 2.21 (DEB 202 2017-01-01) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII; format=flowed |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/765240 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/alpine.DEB.2.21.2007180713420.6331@azone.org |
| Approved | robomod@news.nic.it |
| Lines | 55 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sat, 18 Jul 2020 07:13:51 +0000 (UTC) |
| X-Original-Message-ID | <alpine.DEB.2.21.2007180713420.6331@azone.org> |
| X-Original-References | <143551610.2618526.1594013699409.ref@mail.yahoo.com> <143551610.2618526.1594013699409@mail.yahoo.com> <alpine.DEB.2.21.2007061804280.26486@azone.org> <alpine.DEB.2.21.2007070628500.6440@azone.org> <885539452.3315628.1594115314827@mail.yahoo.com> <alpine.DEB.2.21.2007092139232.19897@azone.org> <908961137.4769747.1594370585219@mail.yahoo.com> <1104871163.4762905.1594370616864@mail.yahoo.com> <alpine.DEB.2.21.2007110839180.28476@azone.org> <alpine.DEB.2.21.2007111021500.7787@azone.org> <520110585.417671.1594565493490@mail.yahoo.com> <alpine.DEB.2.21.2007152324040.10414@azone.org> <1370813785.2444121.1594924286284@mail.yahoo.com> <alpine.DEB.2.21.2007180117440.12973@azone.org> |
| Xref | csiph.com linux.debian.user:224916 |
Show key headers only | View raw
On Sat, 18 Jul 2020 davidson wrote:
> On Thu, 16 Jul 2020 Ajith R wrote:
>> On Thursday 16 July 2020 4:54:09 AM IST davidson wrote:
[snip]
> I recommend two references I found helpful, though I didn't read
> either one especially carefully. I mostly just stared at the templates
> (the UTF-8 fighters below), repeatedly asked myself "why did they do
> it that way?" and then skimmed to confirm guesses.
>
> First, utf-8(7).
>
> $ man 7 utf-8
These two too:
RFC 3629 - UTF-8, a transformation format of ISO 10646 (14 pages)
https://tools.ietf.org/html/rfc3629
The Unicode Consortium. The Unicode Standard.
http://www.unicode.org/versions/latest/
In present version 13.0.0 of the latter,
* A brief feature summary of UTF-8 (in chapter 2, General Structure)
on pages 37-38
* on page 124 (in section 3.9) is a chart that I think makes the
mapping from unicode code points to UTF-8 especially clear.
* Section 3.9 "Unicode Encoding Forms". Formal definitions, if one
enjoys that kind of thing.
[snip]
> So given a unicode code point, do this:
>
> 1. discard its leading 0 bits,
> 2. count how many bits you have left (which is how many x you will
> need from the templates below), and
> 3. pick your UTF-8 fighter:
And pick the shortest one that works. Choosing a longer one will give
invalid result.
>
> 1 octet (7 bits) 0xxx xxxx
> 2 octets (11 bits) 110x xxxx 10xx xxxx
> 3 octets (16 bits) 1110 xxxx 10xx xxxx 10xx xxxx
> 4 octets (21 bits) 1111 0xxx 10xx xxxx 10xx xxxx 10xx xxxx
[snip]
--
Ce qui est important est rarement urgent
et ce qui est urgent est rarement important
-- Dwight David Eisenhower
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-06 07:40 +0200
Re: Using .XCompose Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-06 14:30 +0200
Re: Using .XCompose Zenaan Harkness <zenaan@freedbms.net> - 2020-07-06 14:50 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-06 21:20 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-06 22:40 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-07 17:20 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-07 08:40 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-07 17:20 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-09 23:50 +0200
Re: Using .XCompose [resend of xev_output_annotated.txt] davidson <davidson@freevolt.org> - 2020-07-10 03:40 +0200
Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-10 10:50 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-11 10:40 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-11 12:30 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-12 17:00 +0200
Re: Using .XCompose David Wright <deblis@lionunicorn.co.uk> - 2020-07-13 06:00 +0200
Re: Using .XCompose Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-13 14:00 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-13 20:30 +0200
Re: Using .XCompose Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-13 20:40 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-13 20:50 +0200
Re: Using .XCompose David Wright <deblis@lionunicorn.co.uk> - 2020-07-13 21:50 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-14 05:40 +0200
Fw: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-15 16:50 +0200
Fw: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-15 17:10 +0200
Fw: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-15 17:20 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-16 01:30 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-16 02:40 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-16 20:40 +0200
how u mine 4 utf8 [was Re: Using .XCompose] davidson <davidson@freevolt.org> - 2020-07-18 03:20 +0200
UTF-8 Everywhere -- Re: how u mine 4 utf8 [was Re: Using .XCompose] Zenaan Harkness <zenaan@freedbms.net> - 2020-07-18 07:40 +0200
Re: how u mine 4 utf8 [was Re: Using .XCompose] davidson <davidson@freevolt.org> - 2020-07-18 09:20 +0200
Re: how u mine 4 utf8 [was Re: Using .XCompose] Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-19 13:00 +0200
Fw: how u mine 4 utf8 [was Re: Using .XCompose] Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-19 12:50 +0200
Re: Fw: how u mine 4 utf8 [was Re: Using .XCompose] Tom Browder <tom.browder@gmail.com> - 2020-07-19 13:10 +0200
Re: how u mine 4 utf8 [was Re: Using .XCompose] Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-19 13:50 +0200
sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] davidson <davidson@freevolt.org> - 2020-07-18 12:10 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] Zenaan Harkness <zenaan@freedbms.net> - 2020-07-18 12:50 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] William Michels <wjm1@caa.columbia.edu> - 2020-07-18 22:00 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-18 13:20 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] songbird <songbird@anthive.com> - 2020-07-18 21:00 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] <tomas@tuxteam.de> - 2020-07-18 16:00 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] mick crane <mick.crane@gmail.com> - 2020-07-18 22:40 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] <tomas@tuxteam.de> - 2020-07-18 23:10 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] mick crane <mick.crane@gmail.com> - 2020-07-18 23:30 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] <tomas@tuxteam.de> - 2020-07-19 10:40 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] mick crane <mick.crane@gmail.com> - 2020-07-20 13:20 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] David Christensen <dpchrist@holgerdanske.com> - 2020-07-19 01:50 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-19 12:50 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] David Christensen <dpchrist@holgerdanske.com> - 2020-07-19 23:30 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-19 13:40 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] William Michels <wjm1@caa.columbia.edu> - 2020-07-19 21:50 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] David Wright <deblis@lionunicorn.co.uk> - 2020-07-23 04:00 +0200
Re: sed:awk:perl::rock:paper:chainsaw [was Re: Using .XCompose] songbird <songbird@anthive.com> - 2020-07-23 12:50 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-16 02:00 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-16 20:40 +0200
Re: Using .XCompose David Wright <deblis@lionunicorn.co.uk> - 2020-07-11 17:00 +0200
Tex characters Teemu Likonen <tlikonen@iki.fi> - 2020-07-11 18:20 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-11 22:40 +0200
Re: Using .XCompose Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-13 14:00 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-16 07:50 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-11 18:10 +0200
Re: Using .XCompose Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-20 15:30 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-20 15:30 +0200
Re: Using .XCompose David Wright <deblis@lionunicorn.co.uk> - 2020-07-20 18:20 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-10 12:50 +0200
Re: [offlist] posting style [was Re: Using .XCompose] Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-08 05:00 +0200
Re: [offlist] posting style [was Re: Using .XCompose] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-08 07:00 +0200
Re: [not-so-offlist] posting style [was Re: Using .XCompose] davidson <davidson@freevolt.org> - 2020-07-08 07:10 +0200
Re: [offlist] Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-08 05:00 +0200
Re: [offlist] Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-08 05:20 +0200
Re: [offlist] Re: Using .XCompose Zenaan Harkness <zenaan@freedbms.net> - 2020-07-08 05:40 +0200
Re: [offlist] Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-08 08:00 +0200
Re: Using .XCompose David Wright <deblis@lionunicorn.co.uk> - 2020-07-07 00:40 +0200
tangent on man page locations [was Re: Using .XCompose] davidson <davidson@freevolt.org> - 2020-07-07 01:10 +0200
Re: tangent on man page locations [was Re: Using .XCompose] David Wright <deblis@lionunicorn.co.uk> - 2020-07-07 03:50 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-07 11:50 +0200
Re: Using .XCompose Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-07 13:40 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-08 16:30 +0200
Re: Using .XCompose David Wright <deblis@lionunicorn.co.uk> - 2020-07-09 02:20 +0200
Re: Using .XCompose Zenaan Harkness <zenaan@freedbms.net> - 2020-07-09 04:20 +0200
Re: Using .XCompose Zenaan Harkness <zenaan@freedbms.net> - 2020-07-08 01:50 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-08 02:30 +0200
Fw: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-08 05:10 +0200
Re: Using .XCompose Ajith R <ajithramayyan@yahoo.co.in> - 2020-07-08 18:40 +0200
Re: Using .XCompose Zenaan Harkness <zenaan@freedbms.net> - 2020-07-09 04:00 +0200
Re: Using .XCompose Zenaan Harkness <zenaan@freedbms.net> - 2020-07-10 02:40 +0200
Re: Using .XCompose The Wanderer <wanderer@fastmail.fm> - 2020-07-10 02:50 +0200
Re: Using .XCompose davidson <davidson@freevolt.org> - 2020-07-10 05:00 +0200
csiph-web