Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make types generic over encoding #113

Open
Manishearth opened this issue Oct 30, 2023 · 0 comments
Open

Make types generic over encoding #113

Manishearth opened this issue Oct 30, 2023 · 0 comments

Comments

@Manishearth
Copy link
Member

See #109

Currently we have BidiInfo and then utf16::BidiInfo types (with other similar duplication).

It would be nice if instead we had BidiInfo<T>, ParagraphInfo<T>, etc, which all used some trait input like TextInfo; rather than having duplicate types for everything. We might need some kind of UTF8 UTF16 marker type for this.

I don't have the time to do this myself but it would be really neat. Especially if we can extend stuff to UTF32 as well as WTF8 and other ill-formed UTF8.

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

No branches or pull requests

1 participant