wrong encoding used when opening xml file with encoding utf-8

2010-09-13 Thread Robby Pelssers
Hi all, I'm generating an html table using Chinese characters and i set the encoding and mimetype as follows: var response = cocoon.response; response.setContentType(application/vnd.ms-excel; charset=utf-8); response.setHeader(

RE: wrong encoding used when opening xml file with encoding utf-8

2010-09-13 Thread Robby Pelssers
Ok... i found the solution: I had to add following META as well to the generated html: head meta http-equiv=Content-Type content=application/vnd.ms-excel; charset=utf-8 / /head Robby -Oorspronkelijk bericht- Van: Robby Pelssers

Re: [C3] How to/where to disable certificate check accessing HTTPS

2010-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrei, On 9/10/2010 4:35 PM, Andrei Lunjov wrote: One more thing was needed: HostnameVerifier verifyEverything = new HostnameVerifier() { public boolean verify(String hostname, SSLSession session) { return true; } };

Re: wrong encoding used when opening xml file with encoding utf-8

2010-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robby, On 9/13/2010 8:31 AM, Robby Pelssers wrote: I'm generating an html table using Chinese characters and i set the encoding and mimetype as follows: var response = cocoon.response;

RE: wrong encoding used when opening xml file with encoding utf-8

2010-09-13 Thread Robby Pelssers
Hi chris, newer versions of excel support reading data from the web in xml format... Excel can even read in complete webpages containing html tables and that was the use case I was talking about. So i'm sorry about any confusion by not specifying exaclty what i was trying to do. Robby