LinuxQuestions.org
Register a domain and help support LQ
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 11-01-2013, 11:35 AM   #1
venky.b
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
Russian characters are showing as junk in linux


HI Gurus,

I have one file in russian characters and that characters are showing properly in my windows machine. I Have saved the file in UTF-8 without BOM and transfered the file to Linux. If I see that file in linux it showing some junk characters.

Can you please help me in resolving the issue.

Thanks in advance.
 
Old 11-01-2013, 02:45 PM   #2
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Wallowing in a pit of despair.
Distribution: OpenBSD
Posts: 1,239
Blog Entries: 4

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Probably the same issue as the thread about a dozen spaces down from this one.
http://www.linuxquestions.org/questi...ws-4175482866/
 
Old 11-01-2013, 03:19 PM   #3
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37
Posts: 271

Rep: Reputation: 54
I have a few Russian documents done in utf8.
Had to install Russian fonts.

Write still will not display them correctly. In Write, must go to tools tab, down to encoding, choose utf8. There is probably a setting somewhere to make Write default to utf8 all the time, but I have not found it (limited problem, so limited search for the setting).
There might be something relevant in system settings.

Windows has Unicode as system default.

Last edited by selfprogrammed; 11-01-2013 at 03:22 PM.
 
Old 11-01-2013, 03:33 PM   #4
venky.b
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
HI Randicus Draco Albus,

Thanks for the response.

Below are the more details with screenshots:

1. I am able to see the data in windows without any issues

2. if i transfer that file to linux it is showing some junk characters

in my linux machine ru_RU UTF-8 information available in locale's.

Please suggest how to resolve this issue.

Thanks in advance.
Attached Images
File Type: png windows russian data.PNG (1.5 KB, 12 views)
File Type: png linux data.PNG (754 Bytes, 23 views)
 
Old 11-01-2013, 04:07 PM   #5
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Wallowing in a pit of despair.
Distribution: OpenBSD
Posts: 1,239
Blog Entries: 4

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Add an ISO locale? I do not know if that would work, but it is worth a try.
 
Old 11-02-2013, 12:58 PM   #6
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,089

Rep: Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789
I use any number of scripts here without any special maneuvers, so I suspect that the problem is the export from Windows. You could try exporting as rich text, which sometimes helps with document transfer problems. If the worse comes to the worst, try exporting (rtx or txt) from Windows in UTF16 and converting to UTF8 in Linux using the iconv tool.
 
  


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
Mepis 7 Russian characters jaikzelf Linux - Software 1 09-15-2008 01:38 PM
Mepis7 Russian characters jaikzelf MEPIS 2 08-27-2008 11:27 AM
Fluxbox and Russian/Japanese Characters rdrs Linux - Software 0 12-11-2004 02:15 PM


All times are GMT -5. The time now is 11:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration