Shulberry
07-07-2008, 03:03 PM
Hello,
I would like to know the best way to read a text file into a string from a zipped archive. Browsing the reference docs it looks like an InputSource (http://www.clanlib.org/docs/clanlib-0.8.0/Reference/html/CL_InputSource.html) would be used but how would you get the raw data into a string when it will be different for some text files (ANSI/UNICODE etc.)?
Thanks,
shul.
I would like to know the best way to read a text file into a string from a zipped archive. Browsing the reference docs it looks like an InputSource (http://www.clanlib.org/docs/clanlib-0.8.0/Reference/html/CL_InputSource.html) would be used but how would you get the raw data into a string when it will be different for some text files (ANSI/UNICODE etc.)?
Thanks,
shul.