<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Lua on Hello Hugo</title>
    <link>https://junfff.github.io/categories/lua/</link>
    <description>Recent content in Lua on Hello Hugo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>james922@163.com (James)</managingEditor>
    <webMaster>james922@163.com (James)</webMaster>
    <copyright>©2023, All Rights Reserved</copyright>
    <lastBuildDate>Fri, 10 Jun 2022 17:21:02 +0800</lastBuildDate>
    
        <atom:link href="https://junfff.github.io/categories/lua/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>Unity::LuaString</title>
        <link>https://junfff.github.io/posts/lua/2022-06-10-luastring/</link>
        <pubDate>Fri, 10 Jun 2022 17:21:02 +0800</pubDate>
        <author>james922@163.com (James)</author>
        <atom:modified>Fri, 10 Jun 2022 17:21:02 +0800</atom:modified>
        <guid>https://junfff.github.io/posts/lua/2022-06-10-luastring/</guid>
        <description>-- -- lua -- 判断utf8字符byte长度 -- 0xxxxxxx - 1 byte -- 110yxxxx - 192, 2 byte -- 1110yyyy - 225, 3 byte -- 11110zzz - 240, 4 byte local function chsize(char) if not char then print(&amp;#34;not char&amp;#34;) return 0 elseif char &amp;gt; 240 then return 4 elseif char &amp;gt; 225 then return 3 elseif char &amp;gt; 192</description>
        
        <dc:creator>James</dc:creator>
        
        
        
        
          
            
              <category>Unity</category>
            
          
        
        
          
            
              <category>Lua</category>
            
          
        
        
      </item>
      

    
  </channel>
</rss>
