Skip to content

Expose Tag's default encoding #35

@deanishe

Description

@deanishe

Perhaps I've missed something here. Adding my own TextFrames to Tags seems to be more complicated than it need be, as Tag doesn't export its default encoding.

The Tag.Set* convenience methods use TextFrame{Encoding: tag.defaultEncoding ...}.

Because Tag.defaultEncoding isn't exported, you need to re-implement Tag.setDefaultEncoding() to add your own TextFrame.

(I'm assuming I shouldn't just smush UTF-8 TextFrames into a Tag whose version is < 4.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions