lua-users home
lua-l archive

Re: How do I make sure that a string is compatible with JSON (utf-8/16/32)?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


So I would just check for UTF-8 and treat everything else as binary that
has to be encoded in Base64.

That's exactly what I'll do. Thanks, David. 

AltStyle によって変換されたページ (->オリジナル) /