[Opensymphony-oscache] 2.1.1 delayed until I fix the encoding issue

dres <[email protected]>
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <31984956.1113328321520.JavaMail.os-j2ee@opensymphony01.contegix.com>
This is actually a simple problem but it takes some understanding of what the users want.  In my opinion the character encoding (ie. UTF-8, etc...) should be set globally for the application and not overriden per page.  THis can be done using oscache.properties or a system property such as, file.encoding.  All other libraries I have used resolve this issue in this way.  

The alternative (while more flexible but much slower) is to use the headers to dynamically encode cached content on output.  So we can store it encoded in one charset and present it to the user in any acceptable one.  I don't think this makes sense.

If you are creating an i18n site then you know you will have to support UTF-8, so just bit the bullet and encode all output in that charset.  All modern browsers will support it and if they don't have the right language pack installed, so be it.

Opinions anyone?

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1512&messageID=4630#4630
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.