LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2014, 08:34 AM   #1
xeechou
Member
 
Registered: Jun 2013
Location: China
Distribution: Archlinux
Posts: 67

Rep: Reputation: Disabled
Smile 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?
 
Old 08-10-2014, 05:48 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,434
Blog Entries: 6

Rep: Reputation: Disabled
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\
> required to complete the transaction"
Please enter the three values required to complete the transaction
[ ~]$
That's just one example that I know off hand-
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.-:-

Last edited by Ztcoracat; 08-10-2014 at 05:54 PM.
 
Old 08-10-2014, 06:21 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,434
Blog Entries: 6

Rep: Reputation: Disabled
This Arch WiKi page on rxvt-unicode might help-
https://wiki.archlinux.org/index.php/rxvt-unicode
 
Old 08-10-2014, 09:21 PM   #4
xeechou
Member
 
Registered: Jun 2013
Location: China
Distribution: Archlinux
Posts: 67

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
This Arch WiKi page on rxvt-unicode might help-
https://wiki.archlinux.org/index.php/rxvt-unicode
Nope, I mean it seems when I copy things from windows, the files truly lost coding information, I was just not sure
 
Old 08-11-2014, 02:53 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,434
Blog Entries: 6

Rep: Reputation: Disabled
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?
 
Old 08-11-2014, 04:09 PM   #6
zer0python
Member
 
Registered: Sep 2003
Posts: 104

Rep: Reputation: 20
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
 
Old 08-12-2014, 09:49 PM   #7
xeechou
Member
 
Registered: Jun 2013
Location: China
Distribution: Archlinux
Posts: 67

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
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?
No, what's inside the file is okay.
 
Old 08-12-2014, 09:53 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,434
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by xeechou View Post
No, what's inside the file is okay.
Ok, that's good-

Do you think it's an encoding issue like zer0python suspects?
 
Old 08-12-2014, 09:53 PM   #9
xeechou
Member
 
Registered: Jun 2013
Location: China
Distribution: Archlinux
Posts: 67

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zer0python View Post
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
Thanks anyway, but that is not my problem, I guess I'll have to learn how to make my question more clear and specific.
I'll do more research on this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] urxvt sycamorex Linux - General 3 07-24-2012 12:47 PM
Transparency not working with urxvt arpanetguru Slackware 23 02-04-2011 06:14 AM
Cursor issue in Urxvt Zmyrgel Linux - Desktop 1 04-01-2008 03:12 AM
urxvt -e cs-cam Linux - Newbie 4 04-23-2005 06:16 AM
urxvt not displaying some chars kostian Linux - Software 0 02-15-2005 07:52 AM


All times are GMT -5. The time now is 01:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration