|
|
Posted 27/06/2005 17:19:11 |
|
|
Forum Member
      
Group: Customers
Last Login: 26/03/2007 05:11:10
Posts: 46,
Visits: 152
|
|
| Character such as "é à ç î" are saved in the database and showed in the message board but screwed in the RSS feeding. Those character are pretty essential for any non-english language. There is an easy way to fix it, [code from RC2] File RessFeed.vb line 417: in Public Shared Sub CreateRssFeed(ByVal RssFeed As InstantASP.Common.Business.RssFeed) Dim XmlTextWriter As System.Xml.XmlTextWriter = New System.Xml.XmlTextWriter(RssFeed.OutputStream, System.Text.Encoding.ASCII) Should be written as Dim XmlTextWriter As System.Xml.XmlTextWriter = New System.Xml.XmlTextWriter(RssFeed.OutputStream, System.Text.Encoding.UTF8)
and the RSS will display all accent properly. Thanks. ps. I love this editor 
Running InstantASP forum with many code change.
|
|
|
|
Posted 27/06/2005 17:21:04 |
|
|
Forum Member
      
Group: Customers
Last Login: 26/03/2007 05:11:10
Posts: 46,
Visits: 152
|
|
Here is actually what my message look's like in the RSS feed. <title>RSS feed - not UTF-8 compliant</title> <link>http://support.instantasp.co.uk/Topic7442-37-1.aspx</link> <description>Character such as "? ? ? ?" are saved in the database and showed in the message board but screwed in the RSS feeding. </P><P>Those character are pretty essential for any non-english language.</P><P>There is an easy way to fix it, [code from RC2]</P><P>File <U>RessFeed.vb line 417</U>: in Public Shared Sub CreateRssFeed(ByVal RssFeed As InstantASP.Common.Business.RssFeed)</P><P><div style="margin:0px; padding:6px; border:1px #C8DBED solid; width:100%; height:250px; overflow:auto;"><font face="Courier New" Size="2"><i>Dim XmlTextWriter As System.Xml.XmlTextWriter = New System.Xml.XmlTextWriter(RssFeed.OutputStream, System.Text.Encoding.ASCII)</i></font></div></P><P><STRONG><FONT color=#ff1111>Should be written as</FONT></STRONG></P><P><div style="margin:0px; padding:6px; border:1px #C8DBED solid; width:100%; height:250px; overflow:auto;"><font face="Courier New" Size="2"><i>Dim XmlTextWriter As System.Xml.XmlTextWriter = New System.Xml.XmlTextWriter(RssFeed.OutputStream, <FONT style="BACKGROUND-COLOR: #dddd55">System.Text.Encoding.UTF8</FONT> <BR></i></font></div></P><P>and the RSS will display all accent properly.</P><P>Thanks.</P><P>ps. I love this editor <img align="absmiddle" src="http://support.instantasp.co.uk/Skins/Classic/Images/EmotIcons/Wink.gif" border="0" title="Wink"><BR></description> <pubDate>Mon, 27 Jun 2005 17:19:11 GMT</pubDate> <dc:creator>Zyo</dc:creator> </item>
Running InstantASP forum with many code change.
|
|
|
|
Posted 01/07/2005 09:42:56 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: Today @ 15:10:38
Posts: 1,957,
Visits: 3,021
|
|
|
|
|