Emuforums.com

Go Back   Emuforums.com > General Discussion > Software Discussion
About Us Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old August 8th, 2004   #1 (permalink)
.....
 
Raiden1803's Avatar
 
Join Date: Mar 2003
Location: in a van down by the river
Posts: 2,535
Firefox Insnt saving txt files properly

what the hell... i dunno if this is a firefox thing or something with that one site. but when i tried to save this txt it came out like this
__________________


OS: WinXP (Sp2 Build) CPU: Intel Pentium 4 2.39GHz GFX: ATi Radeon X850 PRO 256MB SOUND: SB Audigy 2 ZS Speakers : Creative Inspire T7700
CD/CD-RW: Lite-On DVDRW SOH1213S / Sony CRX 230ED RAM: 1gig DDR HD: 160gig Seagate
Raiden1803 is offline   Reply With Quote
Old August 8th, 2004   #2 (permalink)
Registered User
 
Noxious Ninja's Avatar
 
Join Date: Oct 2001
Location: teh intarweb
Posts: 1,718
That would be notepad... the text file is in Unix format, which notepad doesn't understand. Open it in Wordpad or a better text editor like UltraEdit.
__________________
09 f9 11 02 9d 74 e3 5b d8 41 56 c5 63 56 88 c0

Last edited by The Khan Artist; August 8th, 2004 at 23:23.
Noxious Ninja is offline   Reply With Quote
Old August 8th, 2004   #3 (permalink)
Locked and Loaded
 
Razor Blade's Avatar
 
Join Date: Aug 2002
Location: I AM CANADIAN!
Posts: 12,030
Just copy the text, then open notepad, paste it there and save the file.
__________________
--------------------------------------------------------------------------------
Core 2 Duo T7300 2.0 GHz NVIDIA GeForce 8400GS 2GB DDR2 RAM
Hitachi 120GB HD Dual Layer DVD+/-RW Drive Windows Vista Home
Premium
Dell 2007WFP LCD Dell XPS M1330 Laptop 1TB Western
Digital MyBook External HD
Logitech Z10 Speakers PLAYSTATION 3
--------------------------------------------------------------------------------
Razor Blade is offline   Reply With Quote
Old August 8th, 2004   #4 (permalink)
I Need a Weapon
 
FLaRe85's Avatar
 
Join Date: Oct 2001
Location: Omaha, NE
Posts: 4,321
Works fine if I save as in IE and open in Notepad.
__________________
.: Flaretech.Net :: Flaretech.Biz Web Hosting :: H3 Stats :: My Blog :.



.: Mac Pro :: Dual Quad-Core Intel Xeon 5400s :: 6 GB 800MHz DDR2 ECC FB-DIMMs :: NVIDIA GeForce 8800 GT 512 MB GDDR3 :.
.: Macbook Pro 17" :: 2.33 GHz Intel Core 2 Duo :: 2 GB 667 MHz DDR2 :: ATI Radeon X1600 :.
.: Home Server :: 2.41 GHz AMD Opteron 180 :: 4 GB DDR400 :: Windows Server 2003 Enterprise R2 :.
FLaRe85 is offline   Reply With Quote
Old August 8th, 2004   #5 (permalink)
Politically incorrect FTW
 
Kirby's Avatar
 
Join Date: Mar 2002
Location: Massachusetts, USA
Posts: 8,445
hmph....not to me o_O
Attached Images
File Type: jpg Clipboard01.jpg (113.3 KB, 49 views)
__________________


AMD Athlon64 X2 4400+ Toledo, Nvidia GeForce 7950GT SLi, 2GB PC3200 2-3-2-5, ABit AN8-SLi, Sound Blaster X-FI XtremeMusic
Kirby is offline   Reply With Quote
Old August 9th, 2004   #6 (permalink)
Registered User
 
Noxious Ninja's Avatar
 
Join Date: Oct 2001
Location: teh intarweb
Posts: 1,718
Quote:
Originally Posted by FLaRe85
Works fine if I save as in IE and open in Notepad.
Very interesting observation... IE seems to convert all text files to Windows format when it saves them.

Quote:
Originally Posted by Kirby
hmph....not to me o_O
You're not using Notepad. :P
__________________
09 f9 11 02 9d 74 e3 5b d8 41 56 c5 63 56 88 c0
Noxious Ninja is offline   Reply With Quote
Old August 9th, 2004   #7 (permalink)
.....
 
Raiden1803's Avatar
 
Join Date: Mar 2003
Location: in a van down by the river
Posts: 2,535
how can you tell if a documents in Unix format? just save it and wait for notepad to screw it up?
__________________


OS: WinXP (Sp2 Build) CPU: Intel Pentium 4 2.39GHz GFX: ATi Radeon X850 PRO 256MB SOUND: SB Audigy 2 ZS Speakers : Creative Inspire T7700
CD/CD-RW: Lite-On DVDRW SOH1213S / Sony CRX 230ED RAM: 1gig DDR HD: 160gig Seagate
Raiden1803 is offline   Reply With Quote
Old August 9th, 2004   #8 (permalink)
Politically incorrect FTW
 
Kirby's Avatar
 
Join Date: Mar 2002
Location: Massachusetts, USA
Posts: 8,445
Quote:
Originally Posted by The Khan Artist
You're not using Notepad. :P
close enough in my opinion btw...the origional notepad doesn't support Unix text, that's why I use Notepad2
__________________


AMD Athlon64 X2 4400+ Toledo, Nvidia GeForce 7950GT SLi, 2GB PC3200 2-3-2-5, ABit AN8-SLi, Sound Blaster X-FI XtremeMusic
Kirby is offline   Reply With Quote
Old August 9th, 2004   #9 (permalink)
Registered User
 
VDDZ's Avatar
 
Join Date: Jul 2003
Location: in a box under the stairs in the corner of the basement half a block down the street from Jerry's Bait shop, You know the place.
Posts: 502
Turn word wrap on under format.
__________________


Image made by someone at deviantART.com, I lost their name, sorry...
VDDZ is offline   Reply With Quote
Old August 9th, 2004   #10 (permalink)
Registered User
 
scottlc's Avatar
 
Join Date: Sep 2002
Location: St Andrews, Scotland
Posts: 1,575
No, it is caused because under Unix, lines are terminated with a \n (LF) character. Under DOS and Windows NT, lines are terminated with a \r\n (CRLF) pair. Thus, Notepad in all of it's stupidity, does not recognise the Unix line termination. Curiously enough, Wordpad seems to recognise it though.

There is absolutly no reason why a web browser should even consider messing with the data inside of a file.
__________________
OS: Arch Linux w/ Kernel 2.6.23.8 + GNOME 2.20.1 - CPU: Intel Pentium M 1.5GHz - Memory: 1280MB DDR PC2700 - Browser: Mozilla Firefox 2.0.0.10
scottlc is offline   Reply With Quote
Old August 11th, 2004   #11 (permalink)
Emu author
 
ammoQ's Avatar
 
Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
Even more curiously, the good old "edit" command (a relict of DOS) perfectly handles unix text files. For some reason hard to understand, MS broke this compatibility in notepad.
__________________
If you think my English is bad, wait till you read my Polish.
ammoQ is offline   Reply With Quote
Old August 11th, 2004   #12 (permalink)
Emu author
 
ammoQ's Avatar
 
Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
Quote:
Originally Posted by Raiden1803
how can you tell if a documents in Unix format? just save it and wait for notepad to screw it up?
Probably the easiest way
__________________
If you think my English is bad, wait till you read my Polish.
ammoQ is offline   Reply With Quote
Old August 11th, 2004   #13 (permalink)
Has an extra GOTO 10 Line
 
Quark's Avatar
 
Join Date: Dec 2001
Posts: 250
I use a text editor called Textpad, and when you save files you have the option of saving it as 'PC' - i.e Windows, or 'UNIX'.
Quark is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:22.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5