Closed yovanoc closed 4 days ago
Write a short summary of the bug in here.
Write detailed description in here.
https://typia.io/playground/?script=JYWwDg9gTgLgBDAnmYBDANHA3g1BzAZzgF84AzKCEOAIiRVRoG4AoOF4AOxgFMozUAYx5wAkgBUeBeFjYIpMAFxxpULnlbE2LemgB0YSjAgAjAK5k9IKQXw8APBIUA+ABQBKVi0ERO0uDycPgAmPMFwALwIyPqGEMbmloEhDk7SbrJw8tLKAORcAG6oADbA4aEpcADuwDAAFnBFpeFmMGQAHAEgEABWwESAfBuAR3u5LMSeLN6+-hUQoeFRuqgGRqYWerOhjpLprslzYRNTfhDFPHrFEHium4csQA
import typia, { tags } from "typia"; interface ITest { test: string; } typia.protobuf.message<ITest>(); const encoded = typia.protobuf.encode<ITest>({ test: 'invalid decode with valid utf8 emojis 🫢' }); const decoded = typia.protobuf.decode<ITest>(encoded); console.log(decoded)
[LOG]: { test: "invalid decode with valid utf8 emojis 🫢\u0000\u0000" }
Upgrade to v6.11.2, then be fixed.
Bug Report
📝 Summary
Write a short summary of the bug in here.
Write detailed description in here.
⏯ Playground Link
💻 Code occuring the bug