MagicAjax.NET Forums

Forums for the Magic Ajax Engine
Welcome to MagicAjax.NET Forums Sign in | Join | Help
in Search

Converting ASCII codes to Text

Last post 06-14-2006, 12:44 πμ by julman99. 1 replies.
Sort Posts: Previous Next
  •  06-12-2006, 1:13 μμ 1054

    Converting ASCII codes to Text

    Hi all,

    I've recently come across a problem while working with non-english characters.

    The problem was that after an ajaxcall, the input type=text and textarea values were being filled with the values converted to "&#ascii_code;"

    I've had to download the source code, change the entries with "AjaxCallHelper.WriteSetFieldScript(clientID, text);" with "AjaxCallHelper.WriteSetFieldScript(clientID, ConvertAsciiToText(text));" (where ConvertAsciiToText() is a function that basically replaces all &#ascii_code; chars with the real letters and symbols) and recompile.

    I don't know if this could be called a feature or a bugfix, but could be an improvement for the next version.

    This is a link with detailed information for everybody that has the same problem:

    http://www.codeproject.com/useritems/MagicAjax.asp

  •  06-14-2006, 12:44 πμ 1068 in reply to 1054

    Re: Converting ASCII codes to Text

    Thanks for the solution, also when you recompile the proyect check the optimize code option ;)

    It should make it faster (and also the DLL is smaller 132kb non-optimized, 128kb optimized).

    Thanks again,
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems