Likely charset issue with tree command?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Likely charset issue with tree command?
# 1  
Old 07-06-2011
Likely charset issue with tree command?

Hi All

I'm using a tree command in a script that for me outputs:-

Code:
| - -     DIRECTORYNAME

However a different user is getting the following output:-

Code:
aaa (actually with an umlat above them)    DIRECTORYNAME

I'm not sure where this could be coming from, any ideas anyone?

---------- Post updated at 10:50 PM ---------- Previous update was at 08:27 PM ----------

Solved

The other user was running the script via putty and putty was introducing a charset conflict.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to run a script/command on all the directories in a directory tree?

How to run a script/command on all the directories in a directory tree? The below script is just for the files in a single directory, how to run it on all the directories in a directory tree? #!/bin/sh for audio_files in *.mp3 do outfile="${audio_files%.*}.aiff" sox "$audio_files"... (2 Replies)
Discussion started by: temp-usr
2 Replies

2. UNIX for Dummies Questions & Answers

Tree command does not print properly

Hi, when I run tree command in linux box getting below image, not the line test âââ lost+found âââ test1 â  âââ aaa.txt â  âââ bbb.txt âââ test2 3 directories, 2 files installed tree-1.5.3-2.el6.x86_64 package (8 Replies)
Discussion started by: stew
8 Replies

3. Shell Programming and Scripting

Directory Tree/Recursion Issue . . .

Hope the title is close enough; didn't quite know how to put this... OK. We have a hypothetical script, script.a, with one simplistic line:bash ./nextDir/script.bNow script.b has a bit more going for it; and does file moves, copies, and renames, calling all the targets with respect to itself.... (7 Replies)
Discussion started by: LinQ
7 Replies

4. UNIX for Dummies Questions & Answers

Help on ps tree listing command - Linux/Solaris

Hi all, Can any guru please help on how I can tweak the following ps command so that it only shows the lines that I wanted. $ command ps -HAcl -F S -A f F S UID PID PPID CLS PRI ADDR SZ WCHAN RSS PSR STIME TTY TIME CMD 4 S root 1 0 TS 24 - 2592 ? ... (3 Replies)
Discussion started by: newbie_01
3 Replies

5. Shell Programming and Scripting

[Solved] Tree as alias command

Hi, I have this command: ls -R | grep ":$" | sed -e 's/:$//' -e 's/*\//--/g' -e 's/^/ /' -e 's/-/|/' Works nicely to show the current file structure as a tree. I'd like to have it as an alias in '' but doesn't work just like that and I can't fix it with backslashes: alias tree='?' ... (4 Replies)
Discussion started by: borobudur
4 Replies

6. UNIX for Dummies Questions & Answers

locale and glibc and charset

what's the relationship among locale, glibc, charset, charmap and fonts? why locale needs to be generated by glibc? how? what are in the locale-archive file? and what are in font files? (0 Replies)
Discussion started by: vistastar
0 Replies

7. UNIX for Dummies Questions & Answers

Tree command

How can i install tree command in ubundu without root ? I have found some shell script which does the same job as tree but i would like to get all the options in tree command thanks (2 Replies)
Discussion started by: gvj
2 Replies

8. Solaris

What command can display files in a tree?

Is there a command that displays a certain path of files in a tree just like the dos command 'tree'? (17 Replies)
Discussion started by: Bradj47
17 Replies

9. UNIX for Advanced & Expert Users

Unix charset

Hi, How can I find out the charset on a Unix server (SUNOS 5.2)? I tried locale charmap and returned 646. What does 646 mean? If I send an xml file with encoding="utf-8", should the server be able to handle the file, even with special characters in it? Thanks. (0 Replies)
Discussion started by: iengca
0 Replies

10. UNIX for Dummies Questions & Answers

tree command

In DOS, to get the complete directory structure, we use 'TREE' command.. can anyone tell me what is the equivalent command in Unix I am using SunOS ABC 5.8 Generic_117350-18 sun4u sparc SUNW,Sun-Fire-V240 thanks.. (1 Reply)
Discussion started by: wip_vasikaran
1 Replies
Login or Register to Ask a Question
CHANGE-PO-CHARSET(1)					      General Commands Manual					      CHANGE-PO-CHARSET(1)

NAME
change-po-charset - change the charset value in content-type header of a gettext po file SYNOPSIS
change-po-charset <charset> FILENAME1 [ FILENAME2 ...] DESCRIPTION
change-po-charset is a simple Perl script, which reads the specified file names, and prints them on standard output, making only the fol- lowing modification. In the first msgstr string sequence it encounters, it changes the "charset" attribute of the Content-Type header to the charset specified as the first parameter. Please note that it does not actually change any character encoding of the contents of the data. It is used by potooledit(1) to fix the content-type header after it recodes the file with iconv(1). SEE ALSO
potooledit(1), iconv(1), msgmerge(1), msgfmt(1). AUTHOR
change-po-charset was written by Marcin Owsiany <porridge@debian.org>. September 21, 2007 CHANGE-PO-CHARSET(1)