Hi,

I'm now reading some 450 old list messages and found this topic.

Be warned that to-url is just a shortcut for make url!, and does not
work as expected (it does not encode strings into usable URLs).

You should indeed write a working translator yourself.

It does not encode % and character codes higher than 127. This example
includes such character and will probably be damaged by email transfer:

>> to-url "%ŚÇ"
== %ŚÇ

[EMAIL PROTECTED] wrote:
> 
> Hello folks,
> 
> I'm currently rewriting a simple Wiki-like system I wrote in Python a
> month ago in REBOL.
> 
> To easily transfer the existing content to the new system, I need to
> know ...
> 
> Is there any way to convert a string to an URL-encoded form in REBOL
> yet?
> A la "Chris L" to "Chris%20L"?
> Or do I have to write a translator for special characters myself?
> 
> Thank you very much for any answers.
> 
> For the records, I have to say that REBOL is definitely blessed with
> elegance as hardly ever seen before (especially in the field of computer
> languages). There are a few random crashes (bad thing about them - I'm
> often unable to reproduce them), but otherwise I'm totally fascinated!
> 
> Best regards,
> -- Chris
> _________________________________________________
> c h r i s langreiter - - - unterlangkampfen 3 2 7
> f o r m  is function -- autriche 6322 langkampfen
> 0 0 4 3 / (0) 5 3 3 2 / 8 7 6 0 7 c a l l - n o w
> w   w   w   .  l a n g r e i t e r  .   c   o   m
> 
> There are three kinds of lies:
> lies, damn lies, and statistics.
> --Benjamin Disraeli

-- 
S pozdravem
Michal Kracik

Reply via email to