is there a way to use regex? you can do a search and replace for anyhtign that isnt unicode
On Mon, Mar 7, 2011 at 8:46 AM, Kim Mosley <[email protected]> wrote: > What I'd like is for the unicodes to be let alone when I use Tidy. It seems > that is the only way for browsers to display the right character. Is there a > way to use Tidy, and not have the code of the page altered (the unicodes > converted to their actual character)? > > Thanks, > > Kim > > > On Sun, Mar 6, 2011 at 10:11 PM, Robert A. Rosenberg <[email protected]>wrote: > >> At 08:35 AM -0800 on 03/04/2011, Kim Mosley wrote about Problem with >> unicode and Tidy: >> >> >> When I use Tidy (either clean or reflow) the unicode is converted to >>> an em dash... which then is displayed as trash in Safari. Please help! >>> I need to use Tidy for formatting... but I don't want it to change >>> these. >>> >>> >>> Winedale Spring Festival—Last weekend of March or First weekend >>> in April >>> >> >> I assume when you say the Unicode is converted to an em dash, you mean >> that a numbered entry (—) is converted into the character it >> represents (ie: the em dash "‹"). You also state this is displayed as junk >> by which I assume you mean as 3 characters (xE2 x80 x94 ie: â Ä ê). That >> means that it is being saved as UTF-8. Is your Charset UTF-8 or ISO-8859-1. >> If the latter then that is your problem. You nust tell Safari that the HTML >> is UTF=8 for it to display correctly by converting the 3 character UTF-8 >> string back into the em dash glyph. >> >> -- >> You received this message because you are subscribed to the "BBEdit Talk" >> discussion group on Google Groups. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> <http://groups.google.com/group/bbedit?hl=en> >> If you have a feature request or would like to report a problem, please >> email "[email protected]" rather than posting to the group. >> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> >> > > > > -- > Kim Mosley > [email protected] > Website: http://kimmosley.com > Blog: http://kimmosley.com/blog > http://facebook.com/mrkimmosley <http://www.facebook.com/mrkimmosley> > http://lewisbrowne.org > > -- > You received this message because you are subscribed to the > "BBEdit Talk" discussion group on Google Groups. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > <http://groups.google.com/group/bbedit?hl=en> > If you have a feature request or would like to report a problem, > please email "[email protected]" rather than posting to the group. > Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> > -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
