On Oct 7, 2006, at 5:49 AM, Carlos M wrote:

The DecodeURLComponent function on the LR (online and PDF) does not mention anything about using Encodings. The syntax is:
result = DecodeURLComponent( String )

But yesterday I noticed that Jonathan Johnson and Joe Strout mentioned the use of it on the post "decodeURLComponent and non- ASCII characters" using this syntax:
 result = DecodeURLComponent( String, Encodings.EncodingsName )

I didn't know about it (so thanks Jonathan and Joe!) and I was always
using:
 result = DecodeURLComponent( String )
 result = DefineEncoding( result, Encodings.EncodingsName )

Note: on Windows the RB autocomplete does not show anything about this function on the tips/status bar.

So, isn't this something that should be mentioned on the LR, as most of the times we need to use Encodings?

That was something new to me as well. In fact, the two methods were not even in the Language Reference for a couple of releases (around 5.5).

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to