try:
    self.response().setHeader('Content-type:','text/html; charset=UTF-8')
except:
    search the list for 'Content-type:'
    There was some discussion about this and I can't remeber it exactly,
    see HTTPResponse.setHeader()
finally:
    I have used
        self.response().setHeader('Content-type:','application/octet-stream')
    but I never send unicode this way.

-Aaron



Jerome Kerdreux wrote:
On Thu, Mar 13, 2003 at 05:31:33PM -0600, Ian Bicking wrote:
  
You have to encode the text (like with UTF-8), and then set a header...
I think it's:
  Content-type: text/html; charset=UTF-8

(Or whatever character set you're using)

    

And how can i set this easily in a WebKit.Page ? 


Thanks


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
  

Reply via email to