Skip to content

Non characters in file names #1538

Closed

Description

@emuller-amazon

https://www.w3.org/TR/2021/WD-epub-33-20210224/#sec-container-filenames

If you exclude "Non characters in Arabic Presentation Forms-A (U+FD00 ... U+FDEF)", then you ought exclude all non characters. http://www.unicode.org/faq/private_use.html#nonchar4

Activity

  1. dauwhe commented on Feb 26, 2021

    @dauwhe
    Contributor

    U+FFFE and U+FFFF are already forbidden, as are U+FFFFE, U+FFFFF, U+10FFFE, and U+10FFFF.

    So I guess that leaves 28 more non-characters to forbid?

    Don't make me create tests for all of this!

  2. iherman commented on Mar 3, 2021

    @iherman
    Member

    @llemeurfr you probably looked into this when you edited the LPF document... any help on this?

  3. llemeurfr commented on Mar 3, 2021

    @llemeurfr
    Contributor

    LPF relies on zip, and zip is not precise at all on this subject. This is why we ended up with this note:

    The zip specification has few constraints on the characters allowed for file and directory names. When crafting such names, authors must be careful to use characters which allow a broad interoperability among operating systems

  4. iherman commented on Mar 3, 2021

    @iherman
    Member

    At the end of the day, EPUB also relies on Zip, doesn't it? So we may have to do the same and that is that...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EPUB33Issues fixed in the EPUB 3.3 revisionSpec-EPUB3The issue affects the core EPUB 3.X Recommendation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions