GNU bug report logs - #50718
28.0.50; `split-string` fails on certain unicode strings

Previous Next

Package: emacs;

Reported by: dalanicolai <dalanicolai <at> gmail.com>

Date: Tue, 21 Sep 2021 09:29:02 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #18 received at 50718-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50718-done <at> debbugs.gnu.org, dalanicolai <dalanicolai <at> gmail.com>
Subject: Re: bug#50718: 28.0.50;
 `split-string` fails on certain unicode strings
Date: Tue, 21 Sep 2021 08:29:27 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

> tags 50718 notabug
> thanks
>
>> From: dalanicolai <dalanicolai <at> gmail.com>
>> Date: Tue, 21 Sep 2021 11:27:48 +0200
>>
>> Evaluate: (split-string "१०.३" ".")
>> It wrongly returns a list with only empty string.
>> Of course it should return alist with the individual devanagari numbers.
>
> That's a cockpit error: the SEPARATORS argument should be a regular
> expression, so you should use "\\." instead.

I'm therefore closing this bug report.




This bug report was last modified 3 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.