Replies: 2 comments 7 replies
|
In any case I'd highly suggest to recheck with the WinGUI port (if you got PDCM from MSYS2 you have the dll ready and just need to rename it) - as that will commonly show the "upper limits" of what is supported. |
|
@chawyehsu , thanks for bringing this up. The various demonstrations of "unusual" text display (wide characters, combining characters, SMP) didn't include emojis. I've added a commit to fix this; When I try it with both WinGUI and WinCon on Wine, the emojis show up as garbage (but not the same garbage you got). I suspect it's a Wine problem, though; I've never really gotten SMP or combining characters to work on that platform. Will have to dust off my remaining "genuine Windows®" machine and see what happens there. In the past, we've had problems because on Windows (and no other platform), An important test, though : I gather the emojis show up Just Fine if you copy/paste them on the console, or run |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I would like to get a general idea of the current Unicode support in this project, particularly for the
winconbackend. To provide some context: mynano-for-windowsproject relies on PDCursesMod. This project evolved from an earlier version,okibcn/nano-for-windows, which also used PDCursesMod. IIUC, the original author (okibcn) had previously discussed Unicode support (specifically regarding emojis) and submitted several patches1. And according to the PDCursesMod CHANGELOG, Unicode support for both input and output, including the Supplementary Multilingual Plane (SMP), was introduced in version 4.3.7.However, in my own testing with
nano-for-windows, emojis still fail to display.UTF-8.txt: GNU nano with PDCursesMod [4.5.4, wincon]
UTF-8.txt: Windows Terminal
I am using the latest version (4.5.4) of PDCursesMod without any custom patches. This differs from the
okibcn/nano-for-windowsproject, which utilized specific patches2; while those patches appeared to target earlier versions of PDCursesMod, I have observed that it seems some of them have since been upstreamed into the main PDCursesMod repository.I am not very familiar with this project or other curses-like projects, so please accept my apologies if I have overlooked anything obvious or made an inappropriate inquiry.
Footnotes
https://github.com/Bill-Gray/PDCursesMod/issues?q=author%3Aokibcn ↩
https://github.com/okibcn/nano-for-windows/blob/e6ff29c5e65580683ac4643e47ef68444d042e04/.github/workflows/Xbuild4Windows.yml#L387-L390 ↩
All reactions