I have two issues that seem related. When copying text or filenames containing umlauts or e.g. å ä ö, OS X can't seem to handle the characters in a sane way. Apparently this is a well-known problem. For example:
Here is an example of the usual result when copying text from a filename or from inside a pdf in Preview and pasting it in an editor. The first line is the result, the other one is corrected.
The difference is clearly visible, since the current font (Courier Prime) doesn't support the first version.
Is there any way to fix this? Alternatively, is there any OS X-service available to "clean up" text or normalize it in the correct way?