Unrecognized Spanish characters from windows to Linux | Unix Linux Forums | Red Hat

  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 Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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

Background:

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
en_US.UTF-8

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
    #2  
Old 02-07-2013
RudiC RudiC is online now Forum Advisor  
Registered User
 
Join Date: Jul 2012
Last Activity: 29 July 2014, 8:42 AM EDT
Location: Aachen, Germany
Posts: 3,913
Thanks: 62
Thanked 926 Times in 879 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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04:35 AM
Spanish Characters get converted in strange chrac mrx1350 Red Hat 0 02-09-2012 03:51 PM
unrecognized vxfs version after vgimport Sapfeer Emergency UNIX and Linux Support 3 10-07-2011 08:13 PM
Unrecognized disk label of a external HD cokedude Hardware 18 11-23-2010 01:27 AM
Unrecognized Path in .bash_profile monkfan UNIX for Dummies Questions & Answers 1 09-01-2007 12:36 AM



All times are GMT -4. The time now is 08:44 AM.