DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Design

Reply
 
Thread Tools Display Modes
Old 08-16-2009, 03:54 PM   #1
BobRoosth
Member
 
Join Date: Jan 2005
Location: Los Angeles, Ca.
Posts: 933
Default Font encoding issues

I am trying to work on a a web page with a friend. He is using DW (somewhat older version) on a Mac. I am using DW CS3.

I sent him a file that rendered just fine. When he returned it, a number of characters do not display correctly -- directional quotes, ellipses, etc.

When I look at the html in a hex editor, I see, for example, 0x85 for ellipsis (equivalent of alt-133). When I enter that code into DW, the DW editor shows it as a single character (…), but hex editing the resulting html shows three characters (0xe280a6).

Two questions: why does that three byte sequence work at all.

Is there some way to force DW to use the & codes (…) for such glyphs?
BobRoosth is offline   Reply With Quote
Old 08-17-2009, 01:48 PM   #2
Kelvyn
Staff
 
Kelvyn's Avatar
 
Join Date: Feb 2005
Location: In the Heart of the English Lake District
Posts: 1,381
Default

Does this help? http://tlt.its.psu.edu/suggestions/i...eamweaver.html

I almost always handcode characters such as ñ in Dreamweaver, & have not had issues.

   
__________________
Kelvyn

Web site design, hosting and marketing, Keswick in the UK Lake District

If you are planning a visit to Keswick then try Keswick Tourist Information website

Kelvyn is offline   Reply With Quote
Old 08-17-2009, 05:29 PM   #3
ktinkel
Founding Sysop
 
ktinkel's Avatar
 
Join Date: Oct 2004
Location: In Connecticut, on the Housatonic River near its mouth at Long Island Sound.
Posts: 11,189
Default

These are the codes that work for the ellipsis in HTML in my experience:

Code:
hex: …

decimal: & # 8 2 3 0 ;  (spacing added to defeat vB translation)

name: …
Not sure what system < 0x85 > is in, but it may be platform-specific; the hex and decimal codes above are neutral, and should work in HTML for any platform (and probably any encoding system).

What encoding are the DW files? Should be UTF-8, no?

   
__________________
[SIZE=2][COLOR=LemonChiffon]::[/COLOR][/SIZE]
[SIGPIC][/SIGPIC]
ktinkel is offline   Reply With Quote
Old 08-17-2009, 05:51 PM   #4
BobRoosth
Member
 
Join Date: Jan 2005
Location: Los Angeles, Ca.
Posts: 933
Default

The pages are, indeed, UTF-8.

0x85 is means 85 base 16 which is 133 decimal, which is the Windows alt-133.

I still don't understand how DW is coming up with the three byte sequence. Perhaps it's time I put the question to the Adobe forum.
BobRoosth is offline   Reply With Quote
Old 08-18-2009, 06:41 AM   #5
ktinkel
Founding Sysop
 
ktinkel's Avatar
 
Join Date: Oct 2004
Location: In Connecticut, on the Housatonic River near its mouth at Long Island Sound.
Posts: 11,189
Default

Quote:
Originally Posted by BobRoosth View Post
The pages are, indeed, UTF-8.

0x85 is means 85 base 16 which is 133 decimal, which is the Windows alt-133.

I still don't understand how DW is coming up with the three byte sequence. Perhaps it's time I put the question to the Adobe forum.
If you do, let us know what they say.

   
__________________
[SIZE=2][COLOR=LemonChiffon]::[/COLOR][/SIZE]
[SIGPIC][/SIGPIC]
ktinkel is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not an encoding problem? Then what? ktinkel Web Design 22 09-16-2007 08:25 AM
InDesign Font Issues - Helvetica Neue trnelson Fonts & Typography 16 04-23-2007 03:37 PM
FrameMaker font issues jmth1974 Print Design 6 11-16-2006 04:55 PM
Font licensing issues marlene Fonts & Typography 12 09-19-2006 10:35 PM
Font Encoding/codepage levonk Fonts & Typography 6 02-18-2005 02:14 PM


All times are GMT -8. The time now is 04:34 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.