List:General Discussion« Previous MessageNext Message »
From:Michael Dykman Date:March 16 2010 7:03pm
Subject:Re: dash was converted o a wierd character
View as plain text  
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	&#x2012; or &#8210;	none	
en dash	-	U+2013 (8211)	&ndash;	&#x2013; or &#8211;	--	ALT + 0150
em dash	--	U+2014 (8212)	&mdash;	&#x2014; or &#8212;	---	ALT + 0151
horizontal bar	--	U+2015 (8213)	none	&#x2015; or &#8213;	none	
swung dash	~	U+2053 (8275)	none	&#x2053; or &#8275;	none	


-- 
 - michael dykman
 - mdykman@stripped

 May the Source be with you.
Thread
dash was converted o a wierd characterNĂ©stor15 Mar
  • Re: dash was converted o a wierd characterJohan De Meersman16 Mar
    • Re: dash was converted o a wierd characterMichael Dykman16 Mar
      • Re: dash was converted o a wierd characterJohan De Meersman17 Mar
        • Identifiers (was: Re: dash was converted o a wierd character)Joerg Bruehe17 Mar
        • RE: dash was converted o a wierd characterJerry Schwartz17 Mar