Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Cannot paste unicode <0221>, <0234> - <024f>



On 1 maja 2017 at 18:38:07, Jun T. (takimoto-j@xxxxxxxxxxxxxxxxx) wrote:
> ...
> In the patch below, I added a test in configure.ac using U+0234
> for both wcwidth() and iswprint() (both are broken on macOS;
> wcwidth() returns -1 and iswprint() returns 0=false).

This is what I was thinking about this, to just test U+0234 or other character from the broken ranges. However I cannot test your patch. Google removed ability to download message, so I even configured getmail and Mutt but patch still fails, could you attach it? I would test it.

I look forward for this patch to be commited. I coded a tool that allows to pack Git repository data into base-1024 URL:

% giturl https://github.com/zdharma/giturl -r devel -p lib/coding_functions.cpp

Protocol: https
Site:     github.com
Repo:     zdharma/giturl
Revision: devel
File:     lib/coding_functions.cpp

gitu://ŬṽǚǫoŒẗ6ẏȅcЭÑẩőn4ầŘїệαЃȣϟṈӛŀї

It is coded in Zsh (and also a second one in C++11), but the point is: pasting to Zsh should work for all characters from the base-1024 range. I.e. for Latin, Greek, Cyrillic, Hebrew *letters* (not symbols).

-- 
Sebastian Gniazdowski
psprint /at/ zdharma.org



Messages sorted by: Reverse Date, Date, Thread, Author