Skip to content

is AS1 tag.length characters/graphemes? or UTF-8 bytes? or...? #705

@snarfed

Description

@snarfed

I think in practice we treat it as Unicode characters/graphemes, but I don't think we're consistent about it, eg I think right now we convert it to Bluesky byteStart/End directly, without encoding to bytes first.

Doesn't matter in practice much because most of our data sources - microformats2 HTML, fediverse AS2 activities, etc - don't have explicit tag indices. Still though, even internally, this will bite us eventually.

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