locutusjs / locutus

Bringing stdlibs of other programming languages to JavaScript for educational purposes

Home Page:https://locutus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unknown / Unhandled data types(s): u

JasonScopServ opened this issue · comments

Having an issue where unserialize() won't unserialize an object.

Error is: Unknown / Unhandled data types(s): u

@JasonScopServ could you please add example string you tried to unserialize?

i found that unserialize not working with non-encoded characters

After stumbling on this myself, the most likely reason for that error is that you're trying unserialize undefined

@arokanto thanks for the hint. I will check it and add code to handle this case.

Fixed in latest master