posted 21 years ago
Hi,
I am not very sure if this is helpful to you at all
I am not sure if your talking about encoding or character encoding. Because i think there is no relation in char-set and encoding but there is relation between char-set and charencoding
encoding - is the transformation that happens on complete content while sending it from server to client. examples are like compression.In case if you want to write a image to output stream then also you need to do output encoding
char-set - Once you get content it will be big stream of bits.So you will use char character set encoding to find out what char-set is used say it may be UCS-2 then you can treat 2bytes as character if it is UTF-8 then character can be 1 to 3 bytes.
So you will read those many bytes in content and try to find out displayable character for it in corresponding conversion table for that character.
Hope this helps
Sunil