what is the difference between utf-8 or utf-7 both are unicode

In your solution you state to use unicode or utf-8.  Both are unicode, is there a difference and if so, what is it?
vtjp1Asked:
Who is Participating?
 
JustWorkingCommented:
UTF-8 Compared to UTF-7

Advantages
UTF-8 uses significantly fewer bytes per character for all non-ASCII characters.
UTF-8 encodes "+" as itself whereas UTF-7 encodes it as "+-".

Disadvantages
UTF-8 requires the transmission system to be 8-bit clean. In the case of e-mail this means it has to be further encoded using quoted-printable or base64 in some cases. This extra stage of encoding carries a significant size penalty. The importance of this disadvantage has declined as mail transfer agents' support for eight-bit clean transports and the 8BITMIME SMTP extension as specified in RFC 1869 rises.

From: http://en.wikipedia.org/wiki/UTF-8 and
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.