octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57107] regexp functions fail on ISO-8859 inpu


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57107] regexp functions fail on ISO-8859 input
Date: Thu, 24 Oct 2019 13:56:13 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Follow-up Comment #11, bug #57107 (project octave):

The attached diff isn't intended to be pushed. It is more like a proof of
concept of what I was musing:

> __utf8_with_fallback__ (["abc" 120 52 181 121 "ä"])
warning: implicit conversion from numeric to char
ans = abcx4µyä
>> double (ans)
ans =

    97    98    99   120    52   194   181   121   195   164


Note that the (invalid) 181 is converted to (valid) [194 181].

(file #47737)
    _______________________________________________________

Additional Item Attachment:

File name: bug57107_utf8_fallback.diff    Size:1 KB
    <https://savannah.gnu.org/file/bug57107_utf8_fallback.diff?file_id=47737>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57107>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]