Unix/Linux Go Back    

Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Unrecognized Spanish characters from windows to Linux

Red Hat

Thread Tools Search this Thread Display Modes
Old Unix and Linux 02-04-2013   -   Original Discussion by ambious
ambious ambious is offline
Registered User
Join Date: Dec 2011
Last Activity: 5 August 2013, 10:43 PM EDT
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Unrecognized Spanish characters from windows to Linux


I want to upload the file from windows to RHEL5 server, the file stores Spanish words with UTF-8 encoding. it's used as the data source for loading to database.

some special characters in files like following.

Linux setting:
$ echo $LANG

I use WinSCP with UTF-8 ON to upload the file to linux server.
I also tried use ssh client to upload.

when I use VI to browse the file, the special characters display unrecognized.

How I can resolve this problem?
Is it a transfer setting problem or system setting problem?

thanks !
Sponsored Links
Old Unix and Linux 02-07-2013   -   Original Discussion by ambious
RudiC RudiC is offline Forum Staff  
Join Date: Jul 2012
Last Activity: 18 November 2017, 12:12 PM EST
Location: Aachen, Germany
Posts: 11,622
Thanks: 320
Thanked 3,616 Times in 3,321 Posts
Did you compare the binary representation of those spanish chars on both systems, and against the unambiguous UTF-8 definition? If they are the same - and, of course, correct - on both systems, change the transfer settings, if not, correct the result with e.g. iconv or recode.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris 9 : gcc unrecognized -rdynamic option bubsland Solaris 0 07-31-2012 05:35 AM
Spanish Characters get converted in strange chrac mrx1350 Red Hat 0 02-09-2012 04:51 PM
unrecognized vxfs version after vgimport Sapfeer Emergency UNIX and Linux Support 3 10-07-2011 09:13 PM
Unrecognized disk label of a external HD cokedude Hardware 18 11-23-2010 02:27 AM
Unrecognized Path in .bash_profile monkfan UNIX for Dummies Questions & Answers 1 09-01-2007 01:36 AM

All times are GMT -4. The time now is 04:41 AM.