Scony / godot-gdscript-toolkit

Independent set of GDScript tools - parser, linter, formatter, and more
MIT License
944 stars 65 forks source link

Non-english (especially CJK) strings are getting broken #281

Closed AcrylicShrimp closed 5 months ago

AcrylicShrimp commented 6 months ago

Format before:

func _on_exit(_system: UINavigationSystem, _element: UIElement):
    ui_confirm.show(self, "게임을 종료할까요?", self.on_confirm)

Format after:

func _on_exit(_system: UINavigationSystem, _element: UIElement):
    ui_confirm.show(self, "������ �����ұ��?", self.on_confirm)

Note: the file is UTF8

Scony commented 6 months ago

Hi, are you using VSCode extension? If so, could you please using gdformat from terminal and see if the issue is the same?

Scony commented 5 months ago

VSCode extension is no longer part of this repo.