I investigated the matter a bit and brought up a solution, which fixes the problem. All mentioned test cases are handled successfully with this fix applied.
Problem: The problem was that all input from command line was assumed to be encoded in latin-1. Converting directly from char * to QString has this default behaviour. All non-ASCII characters in a UTF-8 are encoded in two bytes which is interpreted in the wrong way by this implicit conversion. Solution: All command line arguments are picked up by using QString:fromLocal8Bit(). Further Changes: All command line argument processing is now done in main(), therefore the interface of TexmakerApp::init() had to be changed. Iterations over argv are carried out by iterators. The soruce code of main() was also improved. Note: This is my first fix proposal, so please point me to anything I am missing. ** Attachment added: "Fix for the command line encoding bug" http://launchpadlibrarian.net/25756645/texmaker-1.8-commandline.patch -- texmaker can't open files in path with umlauts https://bugs.launchpad.net/bugs/361727 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs