Ticket #258 (closed Bug: fixed)

Opened 20 months ago

Last modified 17 months ago

ASP Boolean type localization bug

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

Description

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" )
	Else
          If valueToEncode=True Then
            EncodeConfig="True"
          Else
            EncodeConfig="False"
          End If 
        End if                           

      End Function

Best Regards
falco
falco1@…

Change History

Changed 18 months ago by fredck

  • milestone set to FCKeditor 2.4.3

Changed 18 months ago by alfonsoml

  • status changed from new to closed
  • resolution set to fixed
  • component changed from General to Server : ASP

Fixed with [338]

Thanks.

Note: See TracTickets for help on using tickets.