On Tue, Mar 16, 2010 at 5:06 AM, Johan De Meersman <vegivamp@stripped> wrote:
> On *nix, look for a utility called convmv.
>
> I've got a hunch that your original file comes from a windows host, and the
> filenames may have been copied from a word document or something similar.
> Microsoft knows best, and thus tends to convert regular dashes into some
> weird, slightly elongated version. If you copy that to a filename, and then
> move that file to a *nix host, you get strange stuff. It's all for your own
> good, apparently.
That is exactly the phenomenon I was referring to.and I run into it
again and again.
Here is a copy of the table explaining the details of those
characters. It should inspire some ideas on how to address these in a
manner appropriate to your environment.
glyph Unicode HTML HTML/XML TeX Windows Char Codes
figure dash - U+2012 (8210) none ‒ or ‒ none
en dash - U+2013 (8211) – – or – -- ALT + 0150
em dash -- U+2014 (8212) — — or — --- ALT + 0151
horizontal bar -- U+2015 (8213) none ― or ― none
swung dash ~ U+2053 (8275) none ⁓ or ⁓ none
--
- michael dykman
- mdykman@stripped
May the Source be with you.