Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html	(revision 337)
+++ /FCKeditor/trunk/_whatsnew.html	(revision 338)
@@ -108,8 +108,10 @@
 			form had a button named "submit" the "Save" command didn't work in Firefox.</li>
 		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/414">#414</a>] If tracing was 
-		globally enabled in Asp.Net 2.0 then the Asp.Net connector did fail.</li>
+			globally enabled in Asp.Net 2.0 then the Asp.Net connector did fail.</li>
 		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/520">#520</a>] The "Select
 			Field" properties dialog was not correctly handling select options with &amp;, &lt;
 			and &gt;.</li>
+		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/258">#258</a>] The Asp integration 
+			didn't pass boolean values in English, using instead the locale of the server and failing.</li>
 	</ul>
 	<h3>
Index: /FCKeditor/trunk/fckeditor.asp
===================================================================
--- /FCKeditor/trunk/fckeditor.asp	(revision 337)
+++ /FCKeditor/trunk/fckeditor.asp	(revision 338)
@@ -1,3 +1,3 @@
-﻿<!--
+<!--
  * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  * Copyright (C) 2003-2007 Frederico Caldeira Knabben
@@ -188,7 +188,18 @@
 
 	Private Function EncodeConfig( valueToEncode )
-		EncodeConfig = Replace( valueToEncode, "&", "%26" )
-		EncodeConfig = Replace( EncodeConfig , "=", "%3D" )
-		EncodeConfig = Replace( EncodeConfig , """", "%22" )
+		' The locale of the asp server makes the conversion of a boolean to string different to "true" or "false"
+		' so we must do it manually
+    If vartype(valueToEncode) = vbBoolean then 
+			If valueToEncode=True Then
+				EncodeConfig="True"
+			Else
+				EncodeConfig="False"
+			End If 
+		Else
+			EncodeConfig = Replace( valueToEncode, "&", "%26" )
+			EncodeConfig = Replace( EncodeConfig , "=", "%3D" )
+			EncodeConfig = Replace( EncodeConfig , """", "%22" )
+		End if                           
+
 	End Function
 
