-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
When using MarkdownShellExtensions on Windows Explorer, certain UTF-8 characters such as EN DASH (–, U+2013) and EM DASH (—, U+2014) are not rendered correctly in the preview pane. Instead, they appear as small squares ▢.
Details:
- The
.mdfile is saved as UTF-8 without BOM (verified in Notepad++) - Fonts tested: Segoe UI, JetBrains Mono, Consolas → same problem
- Normal hyphen-minus
-displays fine, but–and—are not recognized - The issue seems related to UTF-8 parsing or codepage fallback in the rendering component
Steps to Reproduce:
-
Create a
test.mdfile with the following content:- normal hyphen – en dash — em dash -
Open the file in Windows Explorer with MarkdownShellExtensions preview enabled
-
Observe: only the first line renders correctly, others show ▢
Expected Behavior:
All characters should render properly as long as the selected font supports them (e.g. JetBrains Mono does).
Environment:
- Windows 11 x64
- MarkdownShellExtensions (latest release, [insert version])
- Preview Pane enabled in Explorer
Possible Cause:
- Text not being parsed as UTF-8, fallback to Windows-1252
- Missing explicit
UTF-8decoding in the Delphi rendering code
Metadata
Metadata
Assignees
Labels
No labels