Create account / Log in

odd text characters in html chart ' " - getting replaced by�

Topics related to the main Vassal engine.

Moderators: uckelman, Tim M

odd text characters in html chart ' " - getting replaced by�

Postby sfbaddict » August 3rd, 2015, 12:09 am

Anyone know why in an html chart the " shows up as a �

For instance: remember to "cock the hammer" shows up as �cock the hammer� It's also doing it for ' as in it�s and - as in 1-6 1�6
sfbaddict
 
Posts: 42
Joined: August 1st, 2015, 2:29 am

Re: =?utf-8?q?=5BGeneral_Discussion=5D_odd_text_characters?=

Postby uckelman » August 3rd, 2015, 9:46 am

Thus spake sfbaddict:
> Anyone know why in an html chart the " shows up as a �
>
> For instance: remember to "cock the hammer" shows up as �cock the
> hammer� It's also doing it for ' as in it�s and - as in 1-6 1�6

You're likely having an encoding problem, or the display font lacks
that glpyh. Are these supposed to be curly quotes instead of straight
quotes?

--
J.
_______________________________________________
messages mailing list
messages@vassalengine.org
http://www.vassalengine.org/mailman/listinfo/messages
User avatar
uckelman
Site Admin
 
Posts: 8593
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: odd text characters in html chart ' " - getting replaced

Postby sfbaddict » August 3rd, 2015, 3:48 pm

Problem solved, I opened the html file in a text editor where the odd characters showed up as a square with 0092, 0094, 0096, 0097 in them. I used replace all to put the proper characters in.
sfbaddict
 
Posts: 42
Joined: August 1st, 2015, 2:29 am

Re: odd text characters in html chart ' " - getting replaced

Postby sfbaddict » August 4th, 2015, 4:15 am

solved. was not a vassal issue. it was a character encoding issue and copy paste. opening the html file in a simple text editor showed the oddball characters as a square graphic with numbers. I simply retyped the incorrect characters.
sfbaddict
 
Posts: 42
Joined: August 1st, 2015, 2:29 am

Re: odd text characters in html chart ' " - getting replaced

Postby Brent Easton » August 4th, 2015, 9:30 pm

This most often happens if you cut and paste from Word into a text document. Word likes to replace standard double quote characters with fancy opening and closing quote characters.
User avatar
Brent Easton
 
Posts: 2988
Joined: December 21st, 2007, 3:06 am
Location: Berry, NSW, Australia


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests