https://bugs.kde.org/show_bug.cgi?id=528289
--- Comment #3 from Jasem Mutlaq <[email protected]> --- Git commit 233f132522945131d9666db5fefc05aaadf5858f by Jasem Mutlaq. Committed on 06/11/2026 at 06:53. Pushed by mutlaqja into branch 'master'. Use the file system encoding for paths passed to C file APIs Several paths were converted with toLatin1() before being handed to fopen(), gzopen(), CFITSIO, LibRaw, chmod() or mkfifo(). File names on Linux and macOS are UTF-8, so any non-ASCII character broke them: a home directory such as /home/josé lost the star catalogs and the asteroid and comet data, and FITS or RAW files in a folder named after an accented target could not be opened. Characters outside Latin-1 became '?'. Convert these paths with QFile::encodeName() instead, and add tests for BinFileHelper and MPCParser with accented and Cyrillic paths. Co-Authored-By: Claude Opus 5.5 <[email protected]> M +5 -0 Tests/auxiliary/CMakeLists.txt M +52 -0 Tests/auxiliary/testbinhelper.cpp M +3 -0 Tests/auxiliary/testbinhelper.h A +78 -0 Tests/auxiliary/testmpcparser.cpp [License: GPL(v2.0+)] M +2 -2 kstars/auxiliary/binfilehelper.cpp M +3 -3 kstars/auxiliary/ksutils.cpp M +1 -1 kstars/auxiliary/xplanetimageviewer.cpp M +1 -1 kstars/ekos/scheduler/scheduler.cpp M +3 -3 kstars/indi/clientmanagerlite.cpp M +1 -1 kstars/indi/servermanager.cpp M +1 -1 kstars/tools/scriptbuilder.cpp https://invent.kde.org/education/kstars/-/commit/233f132522945131d9666db5fefc05aaadf5858f -- You are receiving this mail because: You are watching all bug changes.
