473,396 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Change codepage in txt file

antonopn
Hello there,

I have a txt file (lets say 'C:\myfile.txt') which has a specific format.

How can I see what is the exact format of this file? And how can I change it to a DOS format? I want to make an import into a DOS program and the I have serious problem with code page.


THANK YOU FOR YOUR TIME!!!!
Mar 19 '09 #1
1 2949
hi,
I had a similar problem with a programming language.

what I did was to download Visual C++ 2008 Express edition, which is free on MS's site, and use File/Advanced Save Options/<choose the code page you want>.

it worked for me, hope the same for you.

good luck.
Mar 21 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Alex | last post by:
Dear all, I am now creating an CMS which support 3 languages (English, Traditional Chinese and Simplified Chinese). The user can change their languages dynamically; however, I would like to...
10
by: Christopher H. Laco | last post by:
Long story longer. I need to get web user input into a backend system that a) only grocks single byte encoding, b) expectes the data transer to be 1 bytes = 1 character, and c) uses the HP Roman-6...
8
by: Kim Bundgaard | last post by:
Hi Anyone know where I can look for problem with codepage conversion between DB2 UDB Connect EE V8.2 (fixpak 3) and DB2 UDB z/OS V7. With DB2 UDB Connect EE V7.2 (fixpak 7) i get Ebcdic X'5A'...
4
by: Ram | last post by:
Dear All, Good Day I am trying to convert a file which is generated on AS400 with codepage 00420 (arabic & English data combination) with no success. But using the same code( and changing 20420...
2
by: Mike Prager | last post by:
Hi, I have written a Hotmail type application where users choose their language preference which is used to set the culture and hence the correct resource files for strings, formatting etc. I...
4
by: Daatmor | last post by:
I saved my aspx with Encoding (Chinese Tranditional (Big5) - Codepage 950) and I had set codepage="950" in Page tag. The content rendered incorrect (all text changed to symbols), but some content...
7
by: Richard Bond | last post by:
Hi Is there anyway to change the characterset/codepage of a specific textbox on a winform. I have read in a "chinese traditional big5" file into memory using a streamreader with the...
1
by: hb | last post by:
Hi, I have a flat html file which is in the utf-8 codepage. The file is created with Word. This code is at the beginning of the page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01...
1
by: gopal | last post by:
Hi, Please can anyone tell what is lang-codepage peovided in VerQueryValue method when one is trying get the FileVersionInfo for a particular file - say DLL. I need a simple definition of...
1
by: Abhishek Bhatt | last post by:
I changed the default code page of my machine from 437 to 850 by typing following command on command prompt. CHCP 850 But the new code page is not refelected. Any idea why? I am using Windows XP...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.