juzhiyuan commented on issue #781:
URL: 
https://github.com/apache/apisix-dashboard/issues/781#issuecomment-727415871


   > Here is my guess:
   > 
   > 
![image](https://user-images.githubusercontent.com/6814606/98970435-e7b2e280-254a-11eb-9110-8509e8e675b8.png)
   > 
   > In Lua, the length of one Chinese character is `3`, because we use UT8 
encode by default. The length is 1 in Golang land.
   
   1. It needs to be determined whether we want 200 characters or Chinese 
characters.
   2. The frontend shows we need no more than `200 characters`, then it should 
be no more than `200 / 3 = 66` Chinese. Is it enough for users? or that's what 
we want in the beginning?
   3. It's not easy to fix this issue, need more cases discussion, I don't have 
a conclusion currently.
   
   BTW, may I know why Lua will limit 200 characters? for performance or 
anything else?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to