Re: What is the difference between using Unicode and UUENCODE?



Unicode is a character encoding schema which uses 16 bit (65536 possible
combinations) in order to express a single character instead of 7 or 8 bits
(128 or 256 possible combinations) which is used in traditional Ascii, Ansi
etc. Thus unicode is able to encode all characters: us, european, arabic,
hebraic, chinese, japanese etc. by assiging a number to each character.
Since email server usually only transport 7 bits, unicode characters must be
encoded somehow in 7 bits (5 normal characters), because many developer have
had many ideas there are several methods of how to encode unicode,
characters by expressing them as numbers and letters by writing it down in
decimal, hexadecimal, octal or shifting bits in may differnt ways.

UUENCODE is a method of how to transport binary files in 7 bit ascii by
writing a header containing the file name and file size and a lot of
characters and numbers 5 7-bit characters are used to encode 4 bytes of
binary data. UUENCODE is rarly used today modern style emails are using MIME
and encode binary data with BASE64. Macs sometimes encode binary data with
the MACBINARY format, which is a different way of how to encode binary into
7 bits.

Normally, communication between you and your recipients should be find if
both use the MIME format. If nobody is writing texts in chinese, japanese,
arabic, hebraic etc. you also will not have to use unicode.

Thomas Quester
www.olfolders.de





"cima" <cima@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:2091FDE1-C136-44E5-B911-7AD84F0C58C2@xxxxxxxxxxxxxxxx
> For e-mail I use Outlook 2003 with Windows XP. I use HTML format unless I
> see
> from an e-mail reply that my original message is full of code. Then I use
> Plain Text format.
>
> One e-mail recipient with whom I do daily business says she keeps getting
> a
> message that my e-mails use Unicode and that it might not be compatible
> with
> some computers (she uses a Mac). I see I have the option of choosing
> UUENCODE
> for Plain Text outgoing messages.
>
> What is the difference betwwen using Unicode and UUENCODE? What could be
> causing all the code I see in my original e-mail messages when I get a
> reply?
> thanks!


.



Relevant Pages

  • Re: urllib.unquote and unicode
    ... input string in unicode is encoded to UTF-8 and then each byte ... followed by two hex characters. ... For all valid URIs ... encode to ascii before unquoting. ...
    (comp.lang.python)
  • Re: urllib.unquote and unicode
    ... # Python 2.3.4 ... Either unicode string should be ... the permitted range for characters is encoded as % followed by two hex ... urllib.quoteshould encode into utf-8 instead of throwing KeyError ...
    (comp.lang.python)
  • Re: Encoding bytes into UTF-8 string
    ... encode them into a string. ... POSIX don't contain characters. ... with respect to utf-8 or unicode. ...
    (comp.lang.lisp)
  • Re: Delphi Quiz: SetLength( WideString, 10 );
    ... In the Unicode character set, each character is represented by two bytes. ... Unicode characters and strings are also called wide characters and ... The Windows operating system supports Unicode (UCS-2). ... UTF-16 uses a single 16-bitcode unit to encode the most common 63K ...
    (alt.comp.lang.borland-delphi)
  • Re: Character set woes with binary data
    ... The problem is that Unicode has no default representation for mixing ... with binary data and ASCII. ... encode method on your Unicode objects, take the result, and mix away! ... Unicode objects, however, work on a higher level of abstraction: ...
    (comp.lang.python)

Loading