Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Newsgroups | perl.unicode |
|---|---|
| Subject | Re: Comparing inputs with source strings |
| References | <87y47j1dwk.fsf@hati.baby-gnu.org> <87y47iyx7v.fsf@hati.baby-gnu.org> |
| Date | 2016-05-10 13:45 +0200 |
| Message-ID | <87twi6yw41.fsf@hati.baby-gnu.org> (permalink) |
| From | daniel.dehennin@baby-gnu.org (Daniel Dehennin) |
[Multipart message — attachments visible in raw view] - view raw
Daniel Dehennin <daniel.dehennin@baby-gnu.org> writes:
[...]
> I can't imagine declaring all my static string variable with:
>
> my unistring = NFD('C’est une chaîne unicode');
Hey hey, it's more complicated than that, it depends on how the source
was encoded, the following match none of the forms:
'C’est une chaîne unicode avec É'
Since “É” is “\N{LATIN CAPITAL LETTER E}\N{COMBINING ACUTE ACCENT}”
So, it looks like no normalisation is done on sources.
Regards.
--
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF
Back to perl.unicode | Previous | Next — Previous in thread | Next in thread | Find similar
Comparing inputs with source strings daniel.dehennin@baby-gnu.org (Daniel Dehennin) - 2016-05-09 16:53 +0200
Re: Comparing inputs with source strings daniel.dehennin@baby-gnu.org (Daniel Dehennin) - 2016-05-10 13:21 +0200
Re: Comparing inputs with source strings daniel.dehennin@baby-gnu.org (Daniel Dehennin) - 2016-05-10 13:45 +0200
Re: Comparing inputs with source strings public@khwilliamson.com (Karl Williamson) - 2016-05-10 22:48 -0600
Re: Comparing inputs with source strings daniel.dehennin@baby-gnu.org (Daniel Dehennin) - 2016-05-11 10:04 +0200
Re: Comparing inputs with source strings public@khwilliamson.com (Karl Williamson) - 2016-05-11 14:51 -0600
csiph-web