Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Character handling error

Here's a nice trick: Go to HTML mode, and insert a –. Then go to normal mode, and back to HTML mode. It looks fine.

Publish, and view the page in Internet Explorer. The – symbol will be replaced with a box.

Guan Yang
Thursday, December 06, 2001

I would recommend — for em dash and – for en dash.

See http://www.alistapart.com/stories/emen/ for a long discussion of this.

Joel Spolsky
Thursday, December 06, 2001

This simple problem can be taken care of by cutting this CityDesk inserted line from your template or html code:

<META http-equiv="Content-Type" content="text/html; charset=unicode">

Or does this present a problem?

Ryan
Saturday, December 29, 2001

Simply using &#8212; as Joel suggested didn't work for me when I tried it in an article's sidebar. Instead, I created a variable called {$.emdash$} that has the value &#8212; It works--and it's a little easier to remember.

Note to the Fog Creek team: when I highlight (single-click) this variable in the variables window, the status area informs that:

During publishing, the string:

{$.emdash$}

will be replaced with:

_#_8212;

where "_#_" is an underlined pound sign, rather than the string "&#".

I'm using Starter Edition Version 1.0.29, Build Date: 20020401A.

Stephen Wilkinson-Gruber
Sunday, June 30, 2002

*  Recent Topics

*  Fog Creek Home