Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Encoding problem (æøå)
    #28661

    Sorry my mistake.

    We are not using java.net.URLConnection. We only use:
    html.render( url, baos );

    Here is how we get the URL:
    java.net.URL url = new java.net.URL("http://www.cateringportal.dk/rekvisition/servlet/URLOrder?orderID=279&uid=uJ5FOxxyXCgMvU42ygSRqdBlmWLPGzVw7JiAqOsTPnhv8MirBa");

    in reply to: Encoding problem (æøå)
    #28659

    Thanks, I will try your approach.

    But how do we convert the website url to java.io.StringReader if we are not going to use java.net.URLConnection?

    And what is the java.net.URL base for?

    Can you please give some tips?

    in reply to: Encoding problem (æøå)
    #28657

    Thanks.

    But the characters like æøå is supported by ISO-8859-1.

    And why does the debug says that it parse with attempt: UTF8?:
    using content encoding from HTTP header: iso-8859-1
    new parse attempt with: UTF8

    Please see:
    http://en.wikipedia.org/wiki/ISO/IEC_8859-1

Viewing 3 posts - 1 through 3 (of 3 total)