U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » A new function to Web Package Unicode-Escape-Javascript -> Unicode
Re: A new function to Web Package Unicode-Escape-Javascript -> Unicode [message #33259 is a reply to message #33258] Wed, 20 July 2011 22:22 Go to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
sergeynikitin wrote on Wed, 20 July 2011 21:13


Because logic of Javascript's Unescape a bit different: It don't replace "+" with "space".

Because UrlEncode/UrlDecode functions (also, from the meaning of function names) used for URL(s). I also think, different functions needed for content. May be, with general implementation.

From UrlDecode you could see, as you said, function optimizations and shifts of bits, instead of using regular expressions.

References:
- Some implementation of UrlEncode/UrlDecode.
- About UrlEncode on Wikipedia and why " " (space) converted to "+" instead of "%20" on early stage(s).

[Updated on: Thu, 21 July 2011 05:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug with socket
Next Topic: SSL server crash
Goto Forum:
  


Current Time: Mon Oct 05 02:46:26 GMT+2 2026

Total time taken to generate the page: 0.00769 seconds