Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
No such thing as a small change
 
PerlMonks  

Re^9: passing data structures from java to perl

by exussum0 (Vicar)
on Jul 29, 2010 at 00:23 UTC ( #851830=note: print w/ replies, xml ) Need Help??


in reply to Re^8: passing data structures from java to perl
in thread passing data structures from java to perl

Latin-1 was an example my good monk. If someone learned this really bad pattern and one day bumps into Latin-1 (say in a db) it'll explode. It's exactly like using 86400 seconds in a day just 'cause it'll work today.

I'm not going to test every JDK for you, every character set that the JDK supports to see what blows up. It's assumed that if you do things w/i parameters, it's a bug when it does blow up. Enjoy going on and on. I'm done here.

Good nite. Good luck.


Comment on Re^9: passing data structures from java to perl
Re^10: passing data structures from java to perl
by almut (Canon) on Jul 29, 2010 at 00:36 UTC

    There is no bad pattern, that's my point. Encoding unicode data as UTF-8 will not only work today or in one particular case, it will always work.

    But you have to know what you're doing, of course. And someone simply substituting Latin-1 for UTF-8, for me, falls into the category of not knowing what you're doing.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-04-19 15:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (482 votes), past polls