[Mono-list] encoding still broken in xsp
Artur Brodowski
bzdurqa@wp.pl
Wed, 10 Dec 2003 11:11:34 +0100
W li¶cie z ¶ro, 10-12-2003, godz. 04:08, Gonzalo Paniagua Javier pisze:
> You need to save your file as UTF8 and set the 'fileencoding' in
> <system.web><globalization/>... to your encoding.
Well, here is part from my machine.config (default one):
<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="utf-8"/>
and the .aspx file is a proper utf-8, as I wrote above:
$ file login.aspx
login.aspx: UTF-8 Unicode text
Output is fine when I 'include' xml file which contains national chars,
f.e.:
<asp:Xml id="foo"
DocumentSource="foo.xml"
TransformSource="foo.xsl"
runat="server" />
but when I want to generate some output directly from .aspx with
Response.Write("some utf-8 text with national Polish chars");
it's not working properly.
Artur Brodowski.
--
only so many songs can be sung with two lips two lungs and one tongue