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

Feature request: compress to source-compatible character set #180

Open
emlyn opened this issue Oct 16, 2023 · 1 comment
Open

Feature request: compress to source-compatible character set #180

emlyn opened this issue Oct 16, 2023 · 1 comment

Comments

@emlyn
Copy link

emlyn commented Oct 16, 2023

It would be nice to have a mode that can be dumped as a string in a javascript source file (I think UTF16 without special characters below 0x20 and without single or double quotes... I'm not sure if there are other characters that could be problematic).

@Rycochet
Copy link
Collaborator

Rycochet commented Feb 2, 2024

Technically you need to be wary of utf-8 / utf16 as some editors don't support it properly and it can lose data, but this is another one that works well with compressToCustom - with the correct dictionary - I have a feeling there'll be several dictionaries for different uses added to the code over the coming months 🙂

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

No branches or pull requests

2 participants