I am using run>cmd in windows xp professional. The type command no
longer seems to work on this file now that it exceeds 4GB. Only about
63000 lines are converted out of the 2 million plus. 

How can I find out the type of coding that was used to create this file?
Is there a way to do this other than just asking the person who created
it? That is possible, but I was just curious.

Thanks
Matt

Matthew Pirritano, Ph.D.
Research Analyst IV
Medical Services Initiative (MSI)
Orange County Health Care Agency
(714) 568-5648
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Alan
Gauld
Sent: Tuesday, April 07, 2009 1:42 AM
To: [email protected]
Subject: Re: [Tutor] unicode to plain text conversion

"Pirritano, Matthew" <[email protected]> wrote 

> I am a total newbie. I have a very large file > 4GB that I need to
> convert from Unicode to plain text. I used to just use dos when the
file
> was < 4GB but it no longer seems to work. Can anyone point me to some
> python code that might perform this function?

When you say "DOS" what exactly do you mean?

Are you really running an old DOS operating system or are you starting 
a DOS box within a Windows variant? If the latter and you are using 
COMMAND to start the session you will hit the 4GB limit but if you 
use CMD (under Win 2000/XP/Vista) I think it should work as before.
(Although MS may have been too clever for you and updated the type 
command to work with unicode!)

Worth a try...

Alan G.

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to