what does '\?' means in urxvt?
Hey, For guys using CJK(Chinese Janpanese Korean) based system like me? have you ever seen '\?' in terminal output?
Usually when I copyed files from a windows machine and the file name was in Chinese, problem occured. Yeah, Chinese version Win7 uses GBK and Linux uses UTF-8. I googled it, the solution is 'convmv' while, it didn't work. I seems those file names were not in GBK or any other char set. I checked :set fileencoding in '.' files, which outputed nothing. Any guys knows what '\?' means? |
Hi:
The only time I use the "\" is when I have to enter a long command and the cursor reaches the right side of the screen. You can use the '\'(backslash) to continue the command on the next line. It wraps everything that is typed into one sentence. Code:
[ ~]$ echo "Please enter the three values\ If the backslash means something else I would imagine others members will chime in:- -:-If you do have output from the terminal with the backslash in it; post that output for us to read and interpret it.-:- |
This Arch WiKi page on rxvt-unicode might help-
https://wiki.archlinux.org/index.php/rxvt-unicode |
Quote:
|
Sorry I'm not sure how to tell if files copied from a Windows os could change code or not.
Maybe a member running Windows will know- When you open a file that you copied from Windows does it appear all jumbled and misconfigured? |
Sounds like it could be an encoding issue.
file -i on the questionable file may reveal more info. Encoding detection is almost a whole field in it self, I've used a few libraries in the past that did poor to fair at encoding detection, but still not perfect. (Web site authors are famous for doing charset="XXX" when their really using some other encoding.) The other tool to use is "iconv", it's a very popular re-encoding tool. You can easily tell iconv that it should read the input as XYZ encoding and output as ABC encoding. The other potential option is, since you're using CJK, you may already be using a UTF-N encoding. In which case it may be that you need to install the correct fonts. Quick google search gave me this: http://kile.sourceforge.net/Documentation/html/cjk.html |
Quote:
|
Quote:
Do you think it's an encoding issue like zer0python suspects? |
Quote:
I'll do more research on this. |
All times are GMT -5. The time now is 01:53 AM. |