[delphizip] Re: Question about the ZipMaster 190 encoding,

  • From: Edwin Yip <edwin.yip@xxxxxxxxxxxxxxxxxx>
  • To: delphizip@xxxxxxxxxxxxx
  • Date: Sun, 17 Oct 2010 18:32:17 +0800

Hi Russell,
Thank very much for the info!

So it seems that I should use *EncodeAs := zeoUPATH* instead, so that all
international path names can be saved safely;
And I should use *Encoding := zeoAuto*, letting Zipmaster to detect the
encoding itself.

What do you think?

On Sun, Oct 17, 2010 at 2:55 AM, R Peters <rpeters@xxxxxxxxxxxxx> wrote:

> 1. UseUTF8 changes how the component handles/interprets ZMStrings - if true
> it assumes these strings are UTF8 encoded so can handle international
> characters.
> 2. EncodeAs := zeoUTF8 forces entry names to be written in a zip file as
> UTF8, the default zeoAuto will store them using which ever way is more
> reasonable but in either case international characters will be retained as
> they will with zeoUPath.
>
> The difference between zeoUTF8 and zeoUPath is that with the former the
> actual entry name itself is converted to UTF8 which may cause problems when
> read by older programs, zeoUPath will provide a 'safe' (ASCII) entry name
> and store the proper name as UTF8 in the extra data (takes more space but
> can be handled by old programs).
>
> 3. Encoding specifies how to interpret entry names in a zip file - rarely
> will have you have to override it's automatic detection.
>
> I hope this helps.
> Russell Peters
>
> On Sun, Oct 17, 2010 at 3:31 AM, Edwin Yip <edwin.yip@xxxxxxxxxxxxxxxxxx
> >wrote:
>
> > Hi,
> > I'm confused by the following 3 properties related to the encoding in
> > TZipMaster19, anybody care to elaborated on them a bit?
> > And the following are also the values I set, hoping this new version can
> > handle *all *international characters in the file name well.
> >
> > Thanks!
> >
> > 1. UseUTF8 := True;
> > 2. EncodeAs := zeoUTF8;
> > 3. Encoding := zeoUTF8;
> >
> >
> > --
> > Best Regards,
> > Edwin Yip
> >
> > Mind Mapping is as Effortless as Typing
> > http://www.InnovationGear.com
> >
> >
> > -----------
> > To unsubscribe from this list, send an empty e-mail
> > message to:
> >  delphizip-request@xxxxxxxxxxxxx
> > and put the word unsubscribe in the subject.
> >
>
>
> -----------
> To unsubscribe from this list, send an empty e-mail
> message to:
>  delphizip-request@xxxxxxxxxxxxx
> and put the word unsubscribe in the subject.
>



-- 
Best Regards,
Edwin Yip

Mind Mapping is as Effortless as Typing
http://www.InnovationGear.com


-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: