Results 1 to 3 of 3

Thread: tree command and charset

  1. #1
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    174

    Default tree command and charset

    Hello folks

    System : openSuSe 11.2 64 bit
    tree version : 1.5.2.2

    hen using tree the output is in some weird characters. Swedish characters comes out as slash-numbers. I've tried to change charset without luck. Is there any other parameters to change? Ls works as it should but not tree.
    File 0501 has the swedish sign 'å' which tree presents as '\303\245'
    Sugestions/sulotions?


    This is the out put of ls:

    quinness@linux:~/Dokument/B/Talbok/Lindemans_låda_fullare_än_någonsin_Nadjas/CD05> ls
    0501 - Skyltmålare Elof Lindeman.mp3 0508 - Tjuven Bildsköne Lindeman.mp3
    0502 - SL-man Valfrid Lindeman.mp3 0509 - Tullare Valfrid Lindeman.mp3
    0503 - Spansk greve Don José Lindeman.mp3 0510 - Tvättmästare Valfrid Lindeman.mp3
    0504 - Säsongsarbetare Lucifer Lindeman.mp3 0511 - Tågvärden Malte Lindeman.mp3
    0505 - Taxiförare Malte Lindeman.mp3 0512 - Uppfinnare av nylonstrumpan Malte Lindeman.mp3
    0506 - Tefatsexpert Ufo Lindeman.mp3 0513 - Utkastare Malte Lindeman.mp3
    0507 - Tidsstudieman Urban Lindeman.mp3 0514 - Vattenledningsdirektör Valter Lindeman.mp3
    quinness@linux:~/Dokument/B/Talbok

    This is the out put of tree:

    /Lindemans_låda_fullare_än_någonsin_Nadjas/CD05> tree --charset iso-8859
    .
    |-- 0501 - Skyltm\303\245lare Elof Lindeman.mp3
    |-- 0502 - SL-man Valfrid Lindeman.mp3
    |-- 0503 - Spansk greve Don Jos\303\251 Lindeman.mp3
    |-- 0504 - S\303\244songsarbetare Lucifer Lindeman.mp3
    |-- 0505 - Taxif\303\266rare Malte Lindeman.mp3
    |-- 0506 - Tefatsexpert Ufo Lindeman.mp3
    |-- 0507 - Tidsstudieman Urban Lindeman.mp3
    |-- 0508 - Tjuven Bildsk\303\266ne Lindeman.mp3
    |-- 0509 - Tullare Valfrid Lindeman.mp3
    |-- 0510 - Tv\303\244ttm\303\244stare Valfrid Lindeman.mp3
    |-- 0511 - T\303\245gv\303\244rden Malte Lindeman.mp3
    |-- 0512 - Uppfinnare av nylonstrumpan Malte Lindeman.mp3
    |-- 0513 - Utkastare Malte Lindeman.mp3
    `-- 0514 - Vattenledningsdirekt\303\266r Valter Lindeman.mp3

  2. #2
    Join Date
    Jun 2008
    Location
    Moscow, Russia
    Posts
    3,006
    Blog Entries
    1

    Default Re: tree command and charset

    Use '-N' option.

  3. #3
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    174

    Default Re: tree command and charset

    So simple, thank you!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •