LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


Search this Thread
Old 11-01-2013, 11:35 AM   #1
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
Posts: 1,441
Blog Entries: 4

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Probably the same issue as the thread about a dozen spaces down from this one.
Old 11-01-2013, 03:19 PM   #3
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37
Posts: 283

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
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 Thumbnails
Click image for larger version

Name:	windows russian data.PNG
Views:	13
Size:	1.5 KB
ID:	13871  
Attached Images
Old 11-01-2013, 04:07 PM   #5
Randicus Draco Albus
Senior Member
Registered: May 2011
Posts: 1,441
Blog Entries: 4

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
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
Senior Member
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,393

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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.


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 08:16 PM.

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