On Fri, Mar 24, 2017 at 06:06:56PM +0200, Alex Efros <[email protected]>
wrote:
> When path to background image contains utf8 then urxvt print warning on
> start and image is not loaded:
Well, the path most likely is in unicode, not utf-8 (the source encoding
for perl in urxvt is utf-8), and the unix API does not support unicode, thus the
error.
That is, when you write "ф" then perl will understand this as the unicode
character "ф", and _not_ as an octet sequence encoding that character in
utf-8.
To make it work, you would need to encode the unicode string in utf-8
first, or specify it as an utf-8 string to begin with.
Does this work?
urxvt --background-expr 'no utf8; load "/path/to/широкоформатные/0001
(20).jpg"'
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode