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

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

[Octave-bug-tracker] [bug #57341] iso-8859-1 encoding triggers error in


From: Juan Pablo Carbajal
Subject: [Octave-bug-tracker] [bug #57341] iso-8859-1 encoding triggers error in get_first_help_sentence.m
Date: Thu, 5 Dec 2019 08:16:21 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

Follow-up Comment #4, bug #57341 (project octave):

oh, I see actually that this is what you patch is trying to do. Why then you
do not get the symbols right?

If I change the encoding of the file using iconv the symbols appear just fine,
check the attached file, which is

foo_iso_8859_1.m

converted to uft-8 using


iconv -f ISO-8859-1 -t UTF-8//TRANSLIT foo_iso_8859_1.m  > foo_conv.m


I get then


> help foo_conv
warning: function name 'foo_iso_8859_1' does not agree with function filename
'/home/juanpi/Downloads/foo_conv.m'
warning: called from
    help at line 95 column 20
'foo_conv' is a function from the file /home/juanpi/Downloads/foo_conv.m

 This characters will trigger the error: ü ° ±



(file #48000)
    _______________________________________________________

Additional Item Attachment:

File name: foo_conv.m                     Size:0 KB
    <https://savannah.gnu.org/file/foo_conv.m?file_id=48000>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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