If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > zip file problem (greek file name)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Jan 2005
Posts: 362
zip file problem (greek file name)

I am creating on the fly a zip file with some files on the server and then I download it.
The problem ia that the 2 classes I tried can not read greek variables.
What can I do?
For example
Supposse there is the file τεστ.txt .
At zip file the name is _Ε+__Δ_Ε.txt the content is ok.At this case I use codeigniter zip class.
Another class I used is PhpConcept - PclZip (PhpConcept Library Zip) this has problem also with greeks.
And some other classes from phpclasses.org
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Jan 2005
Posts: 362
I used this class.
So when I give at

Code:
$zipfile->create_file(file_get_contents("τεστ.txt"),"τεστ");
greek name has a problem, so I guess the problem is that php file can not give greek names at files of zip.The enconding of file is utf-8 .
What is wrong?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On