[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Konqueror won't print apostrophe



Am Thursday, 11. September 2008 schrieb John Batistic:

> :~$ ls -l /media/John\ Batistic’s\ iPod/

It might be interesting what encoding goes wrong:

$ python

Python 2.5.2 (r252:60911, Aug 8 2008, 09:22:44)

[GCC 4.3.1] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> "John Batistic’s iPod".decode('latin1')

u'John Batistic\xe2\x80\x99s iPod'

>>> print u"\xe2"

â

So some process takes the whatsoever encoded string and interprets it as Latin-1 which then gives you three single characters: â and the "two blocks".

Can you clarify when and where this message box pops up? Might it be connected to the dialogue that asks you about what to do with the newly found device? Do you have Amarok running in the background which has its own notification process? Amarok is known to have encoding problems with attached devices.

Christoph


Reply to: