aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-13 11:28:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-21 19:14:51 +0000
commit3339915d204d1e6ccfe948e9df050e6b16a5a84b (patch)
tree34b8b12d8e04b0cfb89d06255c7ae7b4de07a2d7 /render.c
parentMerge 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 'render.c')
0 files changed, 0 insertions, 0 deletions