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

Closed Linux or Unix Question    
Thread Tools Search this Thread Display Modes
Old Unix and Linux 02-04-2013
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 !
Old Unix and Linux 02-07-2013
RudiC RudiC is offline Forum Advisor  
Registered User
Join Date: Jul 2012
Last Activity: 1 December 2015, 12:37 PM EST
Location: Aachen, Germany
Posts: 7,400
Thanks: 125
Thanked 2,102 Times in 1,971 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 .
Closed Linux or Unix Question

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 02:18 PM.