Skip to content

Can utf-8 codes be avoided in the output? #182

@marawannwh

Description

@marawannwh

Hi,

I am using this library in an ERP system called NetSuite.

When I get an output from LZString.compress like 㚆ࡠ왐¸ὀ阁㌀룀☁᠄ᩈ恅唐聛ō瀿\x18ţ怂Ƅސȭ쀌먈\x8D퀁띌鴣Î\uDC71큣\x0E넕챞劜⑩逄켿搀ⴘɳ쏆 NetSuite saves it like 㚆ࡠ왐¸ὀ阁㌀룀☁᠄ᩈ恅唐聛ō瀿ţ怂Ƅސȭ쀌먈퀁띌鴣Î?큣넕챞劜⑩逄켿搀ⴘɳ... and that makes the decompress function produce null.

Notice how the code \x8D for example was converted to ?

Is there a way to avoid this other than using other methods that produce longer text?

Thanks

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