Sublime Forum

Korean (Hangul) filenames and paths render incorrectly in the editor on macOS

#1

Description

Korean filenames and directory paths copied from Finder render incorrectly in Sublime Text.

On macOS, filenames may be stored using decomposed Hangul characters (NFD). Sublime displays the individual consonant/vowel components separately instead of rendering them as normal Korean syllable blocks.

For example, a filename that should appear as: 한글
…is rendered as separated Hangul components: ㅎㅏㄴㄱㅡㄹ

Korean text typed directly into Sublime Text renders correctly. The issue is reproducible when copying a pathname from Finder with Cmd+Option+C and pasting it into Sublime, or when copying the file and pasting into the editor (which pastes the filename)

Steps to Reproduce

  1. Create a file or folder in Finder with a Korean name, e.g. 한글.
  2. Copy its pathname with Cmd+Option+C.
  3. Paste it into Sublime Text.

Expected Behavior

  • The Korean text should render normally as 한글.

Actual Behavior

  • The Hangul characters are displayed as separate/disjointed consonant and vowel components and incorrectly renders as ㅎㅏㄴㄱㅡㄹ
  • same clipboard content pasted into browser address bar, spotlight, vscode editor or into a new foldername (Finder -> create new folder workflow) doesn’t cause this issue.

Environment

  • macOS: 26.4.1
  • Tested on Sublime Text: Build 4213, 4215
0 Likes