The page from the gwinnettdailypost site was
in 8859-1 (Latin1) encoding -- good news, because it
should be a simpler problem to investigate.
First, assuming you are on Unix, ensure you are running perl
from a Latin-1 environment.
-
% export LC_ALL=en_US.iso88591
Then run your perl program.
If the above was not sufficient to fix the problem, check
if the db server is setup for latin-1 -- or create
a new database that can handle Latin-1 .
Here are the commands if you are using Postgresql:
- SHOW server_encoding ;
- CREATE DATABASE myname WITH encoding = 'LATIN1';
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.