Skip to content

Fixed UTF-8 file parsing while opening and transferring. #193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2025

Conversation

ubidefeo
Copy link
Collaborator

@ubidefeo ubidefeo commented Aug 13, 2025

This PR addresses the loading and visualising of UTF-8 for multi-byte characters, introducing a fix for rendering Chinese characters in the editor

How to reproduce issue (on 0.20.0)

  • connect to a board
  • create a new file (choose board) and give it a meaningful name
  • paste the following
# 这是一个注释
name = "张三"
message = "你好世界"
print(f"Hello {name}: {message}")

def 问候(姓名):
  return f"你好, {姓名}!"
  • save
  • close the tab
  • open the file from the board's file system
  • verify that text is not rendered correctly

@ubidefeo ubidefeo requested a review from sebromero August 13, 2025 20:38
Copy link
Collaborator

@sebromero sebromero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ubidefeo ubidefeo merged commit 7d3e182 into development Aug 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants