Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET Encoding filenames containing danish letters

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #19797 |

    Hi
    I have a problem unzipping filenames containing danish letters like æøå ÆØÅ.
    If there in the same zip-file is a file name like AE and another named Æ, the xceed component interprets them as the same letter! How can I avoid this?

    Imported from legacy forums. Posted by BigBear (had 5614 views)

    User (Old forums)
    Member
    Post count: 23064

    We are investigating this issue right now, we will post our finding here as soon as possible.

    Imported from legacy forums. Posted by André (had 296 views)

    User (Old forums)
    Member
    Post count: 23064

    We do not reproduce this issue here. Do you have a file and code snippet with which we could reproduce this? If so, please send it to <a href=”mailto:support@xceedsoft.com”>support</a>, so we can investigate this further.

    Imported from legacy forums. Posted by André (had 268 views)

    User (Old forums)
    Member
    Post count: 23064

    I have the same problem with Danish letters.
    It seems to me that the way you compare two AbstractFile (by it’s name) are done wrongly.

    In the Danish alphabet the letters Æ, Ø and Å can also be expressed by:
    AE = Æ, OE = Ø and AA = Å.

    Your compare method equals true when two files has the same name and the last file name gets a “(1)” added to it.
    Now this is how the zip component behaves:
    Æ_100.TIF -> Æ_100.TIF
    AE_100.TIF -> AE_100(1).TIF (see how it “thinks” the name already exists).

    Are there any way for me to hook into the comperison mechanism??

    TIA.

    Cheers
    Michael.

    Imported from legacy forums. Posted by codefusion (had 361 views)

    Xceed Support
    Member
    Post count: 5658

    The Xceed component does not offer the possibility to access the filename’s comparison mechanism (even with the Blueprint edition).

    It seems that the archive does not contain our UnicodeExtraHeaders (exclusive to Xceed). Under the hood, when the filenames of the 2 streams are compared, the “(1)” is added because the filenames are not Unicoded.

    Could you send us, at <a href=”mailto:support@xceedsoft.com”>support</a>, a Zip file containing files with the names you mentioned in the previous post. It could help us investigate further and possibly, do some modifications to our comparison algorithm.

    Imported from legacy forums. Posted by CharlesB (had 279 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi Charles.

    Thanks for your reply.
    I’ve send you an email with the desired files.

    Please let me know if you need futher information.

    Regards
    Michael.

    Imported from legacy forums. Posted by codefusion (had 282 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi Charles.

    Any progress on this matter?

    Regards
    Michael

    Imported from legacy forums. Posted by codefusion (had 242 views)

    Xceed Support
    Member
    Post count: 5658

    I sent you some new .dlls through the support on August 13 for testing. Did you get them? If not, you can contact us directly at <a href=”mailto:support@xceedsoft.com”>support</a>.

    Imported from legacy forums. Posted by CharlesB (had 6433 views)

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.