in reply to encoding problem om Ubuntu Linux

Could you do two things for me.

Replies are listed 'Best First'.
Re^2: encoding problem om Ubuntu Linux
by j.goor (Acolyte) on Jun 20, 2008 at 10:28 UTC
    Here are the answers.

    Ad 1:
    SV = PV(0x8154064) at 0x8153594
    REFCNT = 1
    FLAGS = (PADBUSY,PADTMP,POK,READONLY,pPOK)
    PV = 0x81757e8 "mp3_v4.csv"\0
    CUR = 10
    LEN = 12


    Ad 2:
    SV = PV(0x8153ae8) at 0x81535b8
    REFCNT = 1
    FLAGS = (PADBUSY,PADMY,POK,pPOK)
    PV = 0x817dad8 "D\303\251j\303\240 Vu"\0
    CUR = 9
    LEN = 12
    SV = PV(0x8153ae8) at 0x81535b8
    REFCNT = 1
    FLAGS = (PADBUSY,PADMY,POK,pPOK)
    PV = 0x817db88 ".."\0
    CUR = 2
    LEN = 4
    SV = PV(0x8153ae8) at 0x81535b8
    REFCNT = 1
    FLAGS = (PADBUSY,PADMY,POK,pPOK)
    PV = 0x817dad8 "."\0
    CUR = 1
    LEN = 4
      Ad 1: ... PV = 0x81757e8 "mp3_v4.csv"\0

      I think the file name in the CSV file - the one with the "Déjà" - would be more interesting :) — which is what ikegami meant...

      Ad 2: ... PV = 0x817dad8 "D\303\251j\303\240 Vu"\0

      This verifies that the filesystem encoding of that file is UTF-8. So, presumably, the file name in the CSV file isn't in UTF-8.

        Aha - I see.

        SV = PV(0x8154064) at 0x8153594
        REFCNT = 1
        FLAGS = (PADBUSY,PADTMP,POK,READONLY,pPOK)
        PV = 0x8187b58 "/media/usbdisk/music/checkit/Crosby, Stills, Nash & Young/D\303\251 Vu/06 - D\303\251 Vu.mp3"\0
        CUR = 80
        LEN = 84