Click here to get back home

htmldoc...funny characters not going away

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
htmldoc...funny characters not going away hotkitty 06-16-2008
Get Chitika Premium
Posted by hotkitty on June 16, 2008, 7:23 pm
Please log in for more thread options
Hi,

Am using htmldoc to turn webpages into pdf files. When using the gui
application the pdf file turns out great. However, when using perl to
call the program the pdf apostraphes, quotations get turned into
symbols (apostraphes get turned into a-hat). Obviously its an encoding
issue but I've used various methods like setting the character set
like cpan says, uri::escape and even tried substituting the character
for the symbol (=~ s/a-hat/'/g) to no avail. Any suggestions?

Posted by smallpond on June 17, 2008, 5:57 pm
Please log in for more thread options
hotkitty wrote:
> Hi,
>
> Am using htmldoc to turn webpages into pdf files. When using the gui
> application the pdf file turns out great. However, when using perl to
> call the program the pdf apostraphes, quotations get turned into
> symbols (apostraphes get turned into a-hat). Obviously its an encoding
> issue but I've used various methods like setting the character set
> like cpan says, uri::escape and even tried substituting the character
> for the symbol (=~ s/a-hat/'/g) to no avail. Any suggestions?


I am not seeing any perl code in your post that has to do with calling
htmldoc, which has a fairly extensive set of options controlling the
fonts and character sets. Look in the documentation under "command line".

--S
** Posted from http://www.teranews.com **

Similar ThreadsPosted
funny characters in Date::Pcalc May 10, 2006, 8:24 am
funny game August 15, 2005, 9:47 am
Funny story about perl December 19, 2004, 5:50 pm
Funny! More offers to select a search engine! January 17, 2006, 10:36 pm
Funny! More offers to select a search engine! (PP) January 19, 2006, 11:32 pm
Adding a delimiter inbetween number characters and letter characters January 12, 2005, 9:25 am
what to do with special characters like "é","ë",... November 11, 2004, 5:14 pm
Delete characters April 20, 2005, 3:51 pm
xml xsl and accented characters June 2, 2005, 9:48 am
[FR/EN] how to remove the characters '-' September 19, 2005, 12:15 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap