luagbk icon indicating copy to clipboard operation
luagbk copied to clipboard

GBK encoding string support for Lua programming language.

Results 4 luagbk issues
Sort by recently updated
recently updated
newest added

```lua for count=1,8000 do print(count) stringGBK=gbk.fromutf8(string.rep('a',count)) --last count is 4097 end error'should but wont execute here, and crash without error message' ``` last count is 4097 when repeat 'a', 2049...

CP936 has 95 less characters than GBK, and has an additional trouble-making single-byte euro sign as 0x80. If you want a reliable table, try [W3C Web Encoding Spec](https://www.w3.org/TR/encoding/#legacy-multi-byte-chinese-%28simplified%29-encodings) instead. The...

enhancement

Hi, I'm a user who is not so familiar with C/C++, and I'm simply trying to use this module transforming strings from UTF-8 into GBK in my lua script. I've...

question

嘿嘿,嗑瓜子,小墨是谁呀 > local gbk = require 'gbk' > print(gbk.fromutf8 "小墨是笨蛋")