Re: encodings in ERXFileUtilities

Hugi Thordarson <[email protected]>
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
You haven't lived life to the fullest if your JVM has never decided MacIcelandic (an evil concoction of evilness (and probably the cause of high infant mortality rates in some third world countries)) is certainly an encoding someone should ever use.

+1 for a UTF-8 default.

- hugi


On 30.8.2012, at 04:00, Chuck Hill wrote:

> I agree, using the default encoding is evil.  You deserve what you get.
> 
> 
> Chuck
> 
> 
> On 2012-08-29, at 8:46 PM, Ray Kiddy wrote:
> 
>> 
>> Helloo-
>> 
>> I am looking at ERXFileUtilities and I am seeing a bunch of methods that are just using the default encoding for their strings. This is just really wrong. I have gotten a bit of religion about this, having had it bite me in the posterior at work in some really old frameworks (that I did not write). I want to fix the methods in ERXFileUtilities so that they specify UTF-8. I can also put in a static ivar and methods to allow anyone to set their own without having to do it everywhere. If someone needs to specify EBCDIC or whatever, there it will be for you.
>> 
>> Could anyone be relying on the default encoding, that it will come out on MacRoman on MacOS X and come out to something else on other platforms?
>> 
>> I would hope not, but on the other hand, I thought I would ask. I do not want to cause anyone grief without giving them a chance to wave me off.
>> 
>> cheers - ray
>> 
>> 
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and 
>> threat landscape has changed and how IT managers can respond. Discussions 
>> will include endpoint security, mobile security and the latest in malware 
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Wonder-disc mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
> 
> -- 
> Chuck Hill             Senior Consultant / VP Development
> 
> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.    
> http://www.global-village.net/gvc/practical_webobjects
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Wonder-disc mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wonder-disc


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.