Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#258 closed Bug (fixed)

ASP Boolean type localization bug

Reported by: falco Owned by:
Priority: Normal Milestone: FCKeditor 2.4.3
Component: Server : ASP Version:
Keywords: Cc:


On non-english ASP servers the String representation of boolean types is localized, for example, the hungraian string representation of True is "Igaz" and False is "Hamis". This produces several bugs, for example in the Demo you can't select other language, only the Dafault. Because of this, Function EncodeConfig in fckeditor.asp should be corrected to something like this:

Private Function EncodeConfig( valueToEncode )
        If vartype(valueToEncode)<>vbBoolean then 
          EncodeConfig = Replace( valueToEncode, "&", "%26" )
          EncodeConfig = Replace( EncodeConfig , "=", "%3D" )
	  EncodeConfig = Replace( EncodeConfig , """", "%22" )
          If valueToEncode=True Then
          End If 
        End if                           

      End Function

Best Regards

Change History (2)

comment:1 Changed 10 years ago by fredck

  • Milestone set to FCKeditor 2.4.3

comment:2 Changed 10 years ago by alfonsoml

  • Component changed from General to Server : ASP
  • Resolution set to fixed
  • Status changed from new to closed

Fixed with [338]


Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy