texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.75k stars 342 forks source link

Cyrillic characters breaks loading SyncTeX #2771

Open Rtif173 opened 1 year ago

Rtif173 commented 1 year ago

Version: TeXstudio 4.4.1 OS: Windows 11

Cyrillic characters in file path breaks loading SyncTeX. Go to pdf/go to source doesn't work I've made two folders: C:\test and C:\тест. Both contains the same file main.tex. I've built both of files using TeXstudio (pdflatex.exe -synctex=1 -interaction=nonstopmode "main".tex). After that, both folders contain main.pdf, main.tex and main.synctex.gz. But in first case (C:\test) function "go to source/pdf'' works and in second case (C:\тест) doesn't.

Moreover, pdf viewer in case C:\test shows image and in case C:\тест shows image

sunderme commented 1 year ago

interestingly it works fine on linux.

idamir commented 1 year ago

What about iOS? Should be broken too. This seems to be due to UTF-16 encoding in NTFS versus UTF-8 in Unix-like FS. Other software that works in Linux (quantumatk, for example) is broken in Windows if the path includes non-ascii charachters.

idamir commented 1 year ago

2681 duplicate.

bykhov commented 1 year ago

@idamir

2681 duplicate.

It may not be a duplicate. #2681 talks about the filename. Here the problem is with the path, while a filename is in English. Have Windows 10 with a similar problem (but different non-English language)