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

Re^2: encoding question

by Krambambuli (Curate)
on May 20, 2010 at 08:56 UTC ( [id://840875]=note: print w/replies, xml ) Need Help??


in reply to Re: encoding question
in thread encoding question

I don't really like that, sorry.

If someone else will have to look on the code, (and just let's suppose you'll have more such characters following each other in the source,... ), 'reading' what's supposed to be there will be a chore.

Instead, I'd emphasize in comments how the source code should be viewed _and_ what exactly should be seen.

Your solution makes it easier for the machines, but harder for humans.

I like it much more the other way round.


Krambambuli
---

Replies are listed 'Best First'.
Re^3: encoding question
by moritz (Cardinal) on May 20, 2010 at 09:00 UTC
    Instead, I'd emphasize in comments how the source code should be viewed

    Two forms of such "comments" can actually be readable by programs:

    # for perl: use utf8; # at the end, for my favourite editor: # vim: fileencoding=utf-8
    Perl 6 - links to (nearly) everything that is Perl 6.
Re^3: encoding question
by JavaFan (Canon) on May 20, 2010 at 13:38 UTC
    Your solution makes it easier for the machines
    But you aren't getting the correct results. And since there's an additional cut-and-paste step involved, it's hard to debug from a website how your source is encoded.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://840875]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found