octave-maintainers
[Top][All Lists]
Advanced

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

Re: Encoding of files and help system


From: Markus Mützel
Subject: Re: Encoding of files and help system
Date: Mon, 2 Dec 2019 08:54:34 +0100

Am 2. Dezember 2019 um 01:52 Uhr schrieb "JuanPi":
> Hi all,
>
> I found that files encoded with iso-8859-1 trigger an error in
> .../m/help/get_first_help_sentence.m
>
> error: regexp: the input string is invalid UTF-8
> error: called from
>     get_first_help_sentence>first_sentence_plain_text at line 89 column 14
>     get_first_help_sentence at line 66 column 22
>     doc_cache_create>handle_function at line 96 column 18
>     doc_cache_create>create_cache at line 111 column 36
>     gen_doc_cache_in_dir>@<anonymous> at line 143 column 16
>     doc_cache_create>gen_doc_cache_in_dir at line 144 column 9
>     doc_cache_create at line 55 column 12
>     install>generate_lookfor_cache at line 810 column 5
>     install at line 229 column 7
>     pkg at line 475 column 9
>
> Is this accepted behavior, or is it a bug?

Thanks for bringing this up. That error should probably be avoided somehow.

Could you please open a bug report for that issue (preferably with an example 
that triggers the error)?

Markus



reply via email to

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