When using HTTP, which encoding is better, base64, yEnc, or uuencode? -


my requirement encode data , send across network via http, stuck trying choose best encoding technique. of 3 above best? there better?

the criteria "best" should small size , fast encoding/decoding.

yenc has less overhead has other problems mentioned here http://en.wikipedia.org/wiki/yenc#criticisms. "best" depends on criteria might have , how plan send data on network. using web service, email or other means. need provide more details.

edit: since uploading data via http, not need use of base64, yenc or uuencode. use standard http file upload built in facility in both browser , web server. see question reference: how http file upload work? reference: http://www.hanselman.com/blog/abacktobasicscasestudyimplementinghttpfileuploadwithaspnetmvcincludingtestsandmocks.aspx


Comments