mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 09:31:16 -03:00
Fix string escape var and url styles
Turns out I broke these in my zeal to remove wcs2string.
This reverts commit 583d771b10.
Fixes #5322.
This commit is contained in:
@@ -129,6 +129,17 @@ __a__b__c__
|
||||
# string escape --style=var -- -
|
||||
_2D_
|
||||
|
||||
####################
|
||||
# string escape with multibyte chars
|
||||
a%C3%B6b
|
||||
%E4%B8%AD
|
||||
aöb
|
||||
中
|
||||
a_C3_B6_b
|
||||
_E4_B8_AD_
|
||||
aöb
|
||||
中
|
||||
|
||||
####################
|
||||
# set x (string unescape (echo \x07 | string escape))
|
||||
success
|
||||
|
||||
Reference in New Issue
Block a user