justinmclean opened a new issue, #7685:
URL: https://github.com/apache/gravitino/issues/7685

   ### What would you like to be improved?
   
   In 
clients/cli/src/main/java/org/apache/gravitino/cli/outputs/TableFormat.java 
this code doesn't consider multi-byte characters:
   ```
   osw.write(LineUtil.getSpaces(minPadding));
       if (str.length() < maxLength) {
         int leftPadding =
   ```
   
   ### How should we improve?
   
   Use LineUtil.getDisplayWidth(str) instead of str.length(), but some other 
changes may also be needed.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to