Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Tru64 to Linux char conversion
fidge
post Mar 8 2006, 10:50 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 8-March 06
Member No.: 6,128



Hi,

I have a file thats created via Oracle8 on a Tru64 unix server. It contains "" chars, amongst others. The file is ftp'ed as ascii onto a proliant server running redhad linux for processing. The problem I have is that for some reason it converts the "" char to "?" while its being processed. I've found a workaround for this and thats to vi the file and <esc>:wq! (prior to being processed) without changing the file in any other way.

I've 4 questions surrounding this:
1) why does this happen?
2) What difference does a vi, <esc>:wq! make to the file?
3) Is there an easy way of scripting the vi, <esc>:wq!?
4) is there another way of working around this?

Thanks in advance for any help on this.
fidge
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
DS2K3
post Mar 9 2006, 02:08 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



Just a thought - Make sure that you are transferring the file using the right mode (either ASCII or binary) - extended symbols can get muddled up if you pick the wrong one. (I dont think a sign is standard ASCII)

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 09:22 PM