You are not logged in.

#1 2008-05-22 16:07:43

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

xsel problem with diacritic signs

After reading this thread: http://bbs.archlinux.org/viewtopic.php?id=47962
I wanted to use xsel to paste the selection to firefox and search it in Google.

When I select any word with polish diacritic letter there are wired signs pasted:

I select this:

ąąłłęężżźźććóó

run

xsel -p -o

and get this:

ÄÄĹĹÄÄşşźźÄÄóó

Here's the debug:

$ LANG="" xsel -p -o -vvvv
xsel: Window id: 0x3000001 (unmapped)
xsel: Timestamp: 4356098
xsel: Maximum request size: 4000 bytes
xsel: Got window property: requestor 0x3000001, property 0x22d, target 0x13b UTF8_STRING, length 28 bytes
ÄÄĹĹÄÄşşźźÄÄóó

Maybe someone has an idea?

Last edited by MAC!EK (2008-05-22 16:09:12)

Offline

#2 2008-05-30 22:52:04

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: xsel problem with diacritic signs

Setting my all system setting to UTF8 (iso-8859-2 before) helped and xsel works fine now.

It's probably a bug, I think.

Offline

Board footer

Powered by FluxBB