Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^8: Rogue character(s) at start of JSON file (BOM; dumping references)

by LanX (Saint)
on Jan 19, 2023 at 19:19 UTC ( [id://11149701]=note: print w/replies, xml ) Need Help??


in reply to Re^7: Rogue character(s) at start of JSON file (BOM; dumping references)
in thread Rogue character(s) at start of JSON file

> If you want perl to continue to read the file as a series of bytes (not using the UTF-8 encoding)

I'd expect JSON libraries to fail processing octects of undecoded UTF-8, so I'd say this approach is not optimal ...

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^8: Rogue character(s) at start of JSON file (BOM; dumping references)

Log In?
Username:
Password:

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

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

    No recent polls found