[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using UTF-8 Graphemes in pcase
From: |
tomas |
Subject: |
Re: Using UTF-8 Graphemes in pcase |
Date: |
Wed, 16 Aug 2023 11:01:35 +0200 |
On Wed, Aug 16, 2023 at 08:50:13AM +0000, Anders Munch wrote:
> Heime wrote:
> > I am using a pcase matching strings that include UTF-8 Graphemes.
> > Would this be safe to do, or would the match fail should a user not have a
> > specific
> > UTF-8 Grapheme available on his system.
>
> String comparison does not depend on the presence of fonts. You'll be fine.
But watch out for homoglyphs. You do the debugging.
Cheers
--
t
signature.asc
Description: PGP signature