• Rasso Hilber

    (@nonverbla)


    Hi there, loving your plugin! I encountered a strange behaviour with german Umlauts on my machine though, I posted the fix over at GitHub:

    https://github.com/webvitalii/filenames-to-latin/issues/7

    How to reproduce my Problem:

    – Create a file named Ö.jpg for example
    – Safe it to your computer
    – “Edit” the filename in Finder and paste it to Sublime Text (in my case)
    –>
    The Ö *is not* the same letter as if I had typed it directly in Sublime Text. If I move the caret behind the letter and press backspace, first the two dots disappear, so the Ö becomes a normal O. On a second press on backspace, the O itself gets deleted.

Viewing 1 replies (of 1 total)
  • Plugin Author webvitaly

    (@webvitaly)

    Thank you for your feedback.
    Can you describe what does your code doing and how it is fixing the issue?

    $friendly_filename = preg_replace('/[^A-Za-z0-9\-.]/', '', $friendly_filename);

Viewing 1 replies (of 1 total)
  • The topic ‘Weird German special characters on OSX’ is closed to new replies.