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

Re^4: Problem with utf8 after nearly 4096 bytes

by farang (Chaplain)
on Sep 09, 2013 at 04:14 UTC ( #1052955=note: print w/replies, xml ) Need Help??

in reply to Re^3: Problem with utf8 after nearly 4096 bytes
in thread Problem with utf8 after nearly 4096 bytes

You have a point. Even without BOM the program still recognize that the first block is in utf8. How could he don't think the same of the rest of the file?
That's just it, Perl will threat the whole file as utf-8. It seems you are likely corrupting the file during upload. If you post the relevant code you are using to handle the upload, probably some monks can either see what's wrong with it or give a alternate approach for uploading which avoids the problem.

  • Comment on Re^4: Problem with utf8 after nearly 4096 bytes

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052955]
[shmem]: Corion: alas, air too.
[Corion]: shmem: Yes, very sad!
[choroba]: doesn't sound much useful, which means I'll probably remember it
[karlgoethebier]: "that blue pain" == Salzglasur as far as i remember
[karlgoethebier]: Paint!
[shmem]: karlgoethebier the blue pain comes after all bembels are empty
[karlgoethebier]: Confusing "Bembel" with "Membel" might result in a slap in the face in Hesse...
[karlgoethebier]: shmem: Yes. Greetings from Dr. Freud
[Discipulus]: blue pain is a synōnymía

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2017-05-24 08:57 GMT
Find Nodes?
    Voting Booth?