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-1 in


From: Qianqian Fang
Subject: [Octave-bug-tracker] [bug #57107] regexp functions fail on ISO-8859-1 input
Date: Sat, 8 Apr 2023 16:27:03 -0400 (EDT)

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

I appreciate the comments. I tried the following, but neither of them solves
my issues

1. calling inside octave workspace, or .octaverc, or inside of my
encodevarname.m function

__mfile_encoding__('utf-8') 

neither of allow to run the second command; 

without adding this line, default octave-cli session outputs
__mfile_encoding__ as `system`, but "octave --force-gui" outputs `utf-8`. in
either case, my system locale (Ubuntu 22.04) is en_US.UTF-8. so I don't
believe calling __mfile_encoding__ is relevant (or does anything) to the error
reported here. 

Searching `__mfile_encoding__` gives very little information on what it does,
and how it affects string processing.


2. remove 'builtin' so my function can detect unicode2native, but then the
second command failed with 

error: unicode2native: converting from UTF-8 to codepage 'UTF-8': Invalid or
incomplete multibyte or wide character


    _______________________________________________________

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]