New answers tagged character-encoding
you need to install msttcorefonts
Set your LANG environment variable to some UTF-8 encoding string like LANG='en_US.UTF-8'. Here, on Mac OS X 10.6.8, it is LANG='C' that causes GNU sed 4.2.1 to stop parsing as described in the question. GNU sed 4.2.2, on the other hand, just works fine. Another modification that works for me (on Mac OS X 10.6.8) is to replace the regex part :.* with: ...
As goldilocks already commented above, UTF-8 is a multibyte variable-width encoding. Each character might consist of up to four bytes. After an invalid byte you can at best hope that the next byte might start a new character. sed tries to match characters not bytes. As the invalid byte is no character and the . only matches characters it will not match and ...
This fixed the problem for me. Install the dejavu fonts. sudo pacman -S ttf-dejavu
Top 50 recent answers are included