<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/lutf8lib.c, branch v5.5.1</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.5.1</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.5.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2026-03-09T19:24:06+00:00</updated>
<entry>
<title>Details</title>
<updated>2026-03-09T19:24:06+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-03-09T19:24:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=36d5d2b2847906aa3b66e020d5d894a14ba2bf90'/>
<id>urn:sha1:36d5d2b2847906aa3b66e020d5d894a14ba2bf90</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BUG: shift overflow in utf-8 decode</title>
<updated>2026-02-18T16:24:04+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-02-18T16:24:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=10eb89d1141dc528806b32401e408e36fb2f3bf5'/>
<id>urn:sha1:10eb89d1141dc528806b32401e408e36fb2f3bf5</id>
<content type='text'>
An initial byte \xFF will ask for 7 continuation bytes, and then the
shift by (count * 5) will try to shift 35 bits.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2025-10-31T17:48:55+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-10-31T17:48:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f791bb69061c15f73395c5a95958ac18af5ef764'/>
<id>urn:sha1:f791bb69061c15f73395c5a95958ac18af5ef764</id>
<content type='text'>
- New macro l_strcoll to ease changing 'strcoll' to something else.
- MAXINDEXRK==1 in 'ltests.h' is enough to run test 'code.lua'.
- Removed unused '#include' in 'lutf8lib.c'.
</content>
</entry>
<entry>
<title>Correction in utf8.offset</title>
<updated>2025-07-18T19:10:28+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-07-18T19:10:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ccb8b307f11c7497e61f617b12f3a7f0a697256c'/>
<id>urn:sha1:ccb8b307f11c7497e61f617b12f3a7f0a697256c</id>
<content type='text'>
Wrong utf-8 character may have no continuation bytes.
</content>
</entry>
<entry>
<title>Details (comments)</title>
<updated>2025-07-07T18:02:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-07-07T18:02:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=03d672a95cfd287855b373587f3975165eab9e02'/>
<id>urn:sha1:03d672a95cfd287855b373587f3975165eab9e02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2024-09-06T17:35:04+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-09-06T17:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=007b8c7a01eaa97d796561a19c7e9af1ec474495'/>
<id>urn:sha1:007b8c7a01eaa97d796561a19c7e9af1ec474495</id>
<content type='text'>
Identation + comments
</content>
</entry>
<entry>
<title>'-Wconversion' extended to all options of Lua numbers</title>
<updated>2024-07-27T18:13:21+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-07-27T18:13:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f2206b2abe848f65956fa48da338c2bfac599e4a'/>
<id>urn:sha1:f2206b2abe848f65956fa48da338c2bfac599e4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added gcc option '-Wconversion'</title>
<updated>2024-07-27T16:32:59+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-07-27T16:32:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b'/>
<id>urn:sha1:0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b</id>
<content type='text'>
No warnings for standard numerical types. Still pending alternative
numerical types.
</content>
</entry>
<entry>
<title>llimits.h being used by all Lua code</title>
<updated>2024-06-20T17:46:06+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-20T17:46:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=a08d82eb132bfd9db5b91e0d5ebcb81d7b26dcd0'/>
<id>urn:sha1:a08d82eb132bfd9db5b91e0d5ebcb81d7b26dcd0</id>
<content type='text'>
The definitions in llimits.h are useful not only for the core. That
header only defines types and '#define's, so libs and core still do
not share any real code/data.
</content>
</entry>
<entry>
<title>utf8.offset returns also final position of character</title>
<updated>2024-05-27T14:29:39+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-05-27T14:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=814213b65fa4ab2b1a7216d06f68a6f3df89efcd'/>
<id>urn:sha1:814213b65fa4ab2b1a7216d06f68a6f3df89efcd</id>
<content type='text'>
'utf8.offset' returns two values: the initial and the final position
of the given character.
</content>
</entry>
</feed>
