Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Encoding Issue

by choroba (Archbishop)
on Apr 13, 2021 at 15:23 UTC ( #11131193=monkdiscuss: print w/replies, xml ) Need Help??

I noticed an encoding issue in the post Re^4: Useless use of string in return statement. When I dislpayed it for the first time, it showed a double encoded UTF-8 character:
It’s one

After I voted for the node, though, the encoding issue was gone:

Itís one 

I made screenshots of both the versions.

Update: I'm using Firefox 78.9.0esr on Linux.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re: Encoding Issue
by talexb (Canon) on Apr 13, 2021 at 16:17 UTC

    I've been trying to chase a similar issue -- a string that appears to be doubly encoded one moment, magically corrects itself later, as I try to fix the encoding.

    This UTF-8 stuff can be like chasing smoke. :/

    Alex / talexb / Toronto

    Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Re: Encoding Issue
by Bod (Deacon) on Apr 13, 2021 at 15:33 UTC
    After I voted for the node, though, the encoding issue was gone

    Perhaps not attach too much to it going away after voting. I have an internal webpage that has a similar encoding issue that I cannot debug* because every time I refresh the page, the issue goes away. So any changes I make, I don't know if they have solved the problem or Chrome has decided to display it more legibly.

    * of course I could debug it but it is only me and one other person who looks at the page. The encoding bug doesn't affect the information so it is very low priority and just gets looked at occasionally when I notice it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2021-08-02 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (28 votes). Check out past polls.

    Notices?