[Top][All Lists]

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

[Octave-bug-tracker] [bug #62761] encoding specified in .oct-config file

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62761] encoding specified in .oct-config file is not used in current directory
Date: Wed, 13 Jul 2022 07:25:45 -0400 (EDT)

Update of bug #62761 (project octave):

                  Status:                    None => Patch Submitted        


Follow-up Comment #1:

The attached patch fixes the issue for me by using a canonicalized path as the
key in the dir_encoding map.
I'm not sure if there is a way around using the (rather expensive)
`canonicalize_file_name` to get a unique and reproducible key for each path in
the load path...

IIRC, that worked correctly at some point in the past. (Not 100% sure
The patch also adds some tests for that feature to hopefully help not breaking
it again in the future.

(file #53432)


Additional Item Attachment:

File name: bug62761-dir-encoding.patch    Size:10 KB


Reply to this item at:


Message sent via Savannah

reply via email to

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