diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-13 11:28:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-21 19:14:51 +0000 |
| commit | 3339915d204d1e6ccfe948e9df050e6b16a5a84b (patch) | |
| tree | 34b8b12d8e04b0cfb89d06255c7ae7b4de07a2d7 /input.h | |
| parent | Merge branch 'restore-signals-when-spawning-subprocess' (diff) | |
url-mode: store URL in UTF-8, not UTF-32
The only time the URL is actually in UTF-32 is when we’re collecting
it (auto-detecting it) from the grid, since cells store their
character(s) in UTF-32.
Everything *after* that prefers the URL in UTF-8. So, do the
conversion while collecting the URL.
This patch also changes the URL activation code to strip the
‘file://user@host/’ prefix from file URIs that refer to files
on the *local* computer.
Diffstat (limited to 'input.h')
0 files changed, 0 insertions, 0 deletions
