Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: HTML entity write error

by 2teez (Priest)
on Aug 23, 2013 at 02:46 UTC ( #1050583=note: print w/replies, xml ) Need Help??


in reply to HTML entity write error

Hi Nar,

..it has encoded HTML entities in the output (IE ®)...
Try using HTML::Entities.
This works for me perl -MHTML::Entities -le 'print decode_entities("&#174")'

I really don't know why you are writing into an Excel file, while what you needed is a CSV file.
Try using Text::CSV_XS
Hope this helps

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Replies are listed 'Best First'.
Re^2: HTML entity write error
by Nar (Novice) on Aug 23, 2013 at 03:03 UTC
    Switched to Text::CSV and works fine. Thanks guys!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050583]
help
Chatterbox?
[LanX]: yeah PM is very emacsy ;-)
[LanX]: I think tobyink was on a good track with his redesign, pitty the pmdevs/gods didn't try to continue the approach of a modern responsive design
[holli]: *sigh* why has there to be drama in such a thread?
[LanX]: ?
[holli]: Re^2: Let's Make PerlMonks Great Again! -- suggestions and dreams - STFU and write code already (start already)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-11-20 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (292 votes). Check out past polls.

    Notices?