# MSDOS accents problem

**URL:** <https://forum.kirupa.com/t/msdos-accents-problem/205087>\
**Category:** random\
**Created:** [October 26, 2006, 12:21am UTC](https://forum.kirupa.com/t/msdos-accents-problem/205087 "2006-10-26T00:21:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlk](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@mlk](https://forum.kirupa.com/u/mlk)\
**Post date:** [October 26, 2006, 12:21am UTC](https://forum.kirupa.com/t/msdos-accents-problem/205087/1 "2006-10-26T00:21:07Z")

</div>

Hello peeps, I use the msdos “dir” and “tree” command to print my file arborescence to a text file (using a command such as"C:&gt;tree \>file.txt")  
however it seems that all the accent characters and extended characters get totally screwed up.

Does anyone know how to force msdos to change the character locale or something ?

cheers

mlk

I should get

```auto

&#9474; &#9500;&#9472;&#9472;&#9472;Scrubs Season V
&#9474; &#9492;&#9472;&#9472;&#9472;Six Feet Under Season III
&#9492;&#9472;&#9472;&#9472;SUPINFOCOM
    &#9500;&#9472;&#9472;&#9472;Bige
    &#9500;&#9472;&#9472;&#9472;Anim
    &#9474; &#9500;&#9472;&#9472;&#9472;Album inconnu (03-10-2006 10-59-53)
    &#9474; &#9500;&#9472;&#9472;&#9472;Album inconnu (03-10-2006 11-07-20)
    &#9474; &#9500;&#9472;&#9472;&#9472;Album inconnu (24-10-2005 16-56-50)
    &#9474; &#9492;&#9472;&#9472;&#9472;animation
    &#9500;&#9472;&#9472;&#9472;Fox - chaise
    &#9474; &#9500;&#9472;&#9472;&#9472;annees2030_fichiers
    &#9474; &#9500;&#9472;&#9472;&#9472;annees7080_fichiers
    &#9474; &#9500;&#9472;&#9472;&#9472;avantgarde_fichiers
    &#9474; &#9500;&#9472;&#9472;&#9472;Chaise_fichiers
    &#9474; &#9500;&#9472;&#9472;&#9472;chinese_furniture.cfm_fichiers
    &#9474; &#9500;&#9472;&#9472;&#9472;economie_fichiers
    &#9474; &#9500;&#9472;&#9472;&#9472;foldingchair_fichiers
    &#9474; &#9500;&#9472;&#9472;&#9472;histoiredesign_fichiers
    &#9474; &#9500;&#9472;&#9472;&#9472;History_of_the_chair_fichiers
    &#9474; &#9500;&#9472;&#9472;&#9472;images
    &#9474; &#9500;&#9472;&#9472;&#9472;liberte_fichiers
    &#9474; &#9500;&#9472;&#9472;&#9472;mot.php1_fichiers
    &#9474; &#9474; &#9492;&#9472;&#9472;&#9472;carre_citation_data
    &#9474; &#9474; &#9492;&#9472;&#9472;&#9472;preimage_data
    &#9474; &#9500;&#9472;&#9472;&#9472;mot.php2_fichiers
    &#9474; &#9474; &#9492;&#9472;&#9472;&#9472;carre_citation_data
    &#9474; &#9474; &#9492;&#9472;&#9472;&#9472;preimage_data
    &#9474; &#9492;&#9472;&#9472;&#9472;mot.php3_fichiers
    &#9474; &#9492;&#9472;&#9472;&#9472;carre_citation_data
    &#9492;&#9472;&#9472;&#9472;fabienne

```

I have

```auto

ÀÄÄÄSUPINFOCOM
    ÃÄÄÄBige
    ÃÄÄÄAnim
    ³ ÃÄÄÄAlbum inconnu (03-10-2006 10-59-53)
    ³ ÃÄÄÄAlbum inconnu (03-10-2006 11-07-20)
    ³ ÃÄÄÄAlbum inconnu (24-10-2005 16-56-50)
    ³ ÀÄÄÄanimation
    ÃÄÄÄFox - chaise
    ³ ÃÄÄÄannees2030_fichiers
    ³ ÃÄÄÄannees7080_fichiers
    ³ ÃÄÄÄavantgarde_fichiers
    ³ ÃÄÄÄChaise_fichiers
    ³ ÃÄÄÄchinese_furniture.cfm_fichiers
    ³ ÃÄÄÄeconomie_fichiers
    ³ ÃÄÄÄfoldingchair_fichiers
    ³ ÃÄÄÄhistoiredesign_fichiers
    ³ ÃÄÄÄHistory_of_the_chair_fichiers
    ³ ÃÄÄÄimages
    ³ ÃÄÄÄliberte_fichiers
    ³ ÃÄÄÄmot.php1_fichiers
    ³ ³ ÀÄÄÄcarre_citation_data
    ³ ³ ÀÄÄÄpreimage_data
    ³ ÃÄÄÄmot.php2_fichiers
    ³ ³ ÀÄÄÄcarre_citation_data
    ³ ³ ÀÄÄÄpreimage_data
    ³ ÀÄÄÄmot.php3_fichiers
    ³ ÀÄÄÄcarre_citation_data
    ÀÄÄÄfabienne

```
