Note that there are some explanatory texts on larger screens.

plurals
  1. PODifferent UTF-8 signature for same diacritics (umlauts) - 2 binary ways to write umlauts
    primarykey
    data
    text
    <p>I have a quite big problem, where I can't find any help around in the web:</p> <p>I moved a page from a website from OSX to Linux (both systems are running in de_DE.UTF-8) and run in an quite unknown problem: Some of the files were not found anymore, but obviously existed on the harddrive with (visibly) the same name. All those files contained german umlauts.</p> <p>I took one sample image, copied the original request-uri from the webpage and called it directly - same error. After rewriting the file-name it worked. And yes, I did not mistype it!</p> <p>This surprised me and I took a look into the apache-log where I found these entries:</p> <pre><code>192.168.56.10 - - [27/Aug/2012:20:03:21 +0200] "GET /images/Sch%C3%B6ne-Lau-150x150.jpg HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.1" 192.168.56.10 - - [27/Aug/2012:20:03:57 +0200] "GET /images/Scho%CC%88ne-Lau-150x150.jpg HTTP/1.1" 404 4205 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.1" </code></pre> <p>That was something for me to investigate ... Here's what I found in the UTF8 chartable <a href="http://www.utf8-chartable.de/" rel="noreferrer">http://www.utf8-chartable.de/</a>:</p> <pre><code>ö c3 b6 LATIN SMALL LETTER O WITH DIAERESIS ¨ cc 88 COMBINING DIAERESIS </code></pre> <p>I think you've already heard of dead-keys: <a href="http://en.wikipedia.org/wiki/Dead_key" rel="noreferrer">http://en.wikipedia.org/wiki/Dead_key</a> If not, read the article. It's quite interesting ;)</p> <p>Does that mean, that OSX saves all diacritics separate to the letter? Does that really mean, that OSX saves the character ö as o and ¨ instead of using the real character that results of the combination?</p> <p>If yes, do you know of a good script that I could use to rename these files? This won't be the first page I move from OSX to Linux ...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload