[TxMt] keep it in iso-8859-1

Henrik Nyh henrik at nyh.se
Sat Mar 31 15:28:24 UTC 2007


Allan Odgaard wrote:
> Finally a question: If your web-site is all in latin-1, how do you deal 
> with user input, if any? I.e. if I can post comments or in some other 
> way submit arbitrary plain text to your site, you just pray I restrain 
> myself to latin-1, and that the browser sends my text as latin-1? ;)

You can specify the accept-charset attribute for a form; otherwise it 
will default to the document's encoding, with varying behaviour for 
unknown sequences: http://www.intertwingly.net/blog/1761.html



More information about the textmate mailing list