NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Microsoft Word File


Joined: 25 Jul 2006
Posts: 70
Reply with quote
I include Microsoft Word files (.doc) in my project, however when I double click one of them to open, NuSphere tries to open it on its own and gives me the error
Code:

Failed to read file with "WINDOWS-1252" encoding


How can I instruct NuSphere to let the shell open that file type?

Thanks!
View user's profileFind all posts by cpriestSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Right click -> Shell -> Open With (or just Open)

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Jul 2006
Posts: 70
Reply with quote
I know I can do that, is there a way to tell PHPed to handle the file type properly?
View user's profileFind all posts by cpriestSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
"properly" is not a correct word in this situation. By requesting File->Open you tell IDE to open a text file in its editor. Nothing more and it does so.
Try .NET or another IDEs, they all do the same.
PhpED provides you an option to run it through shell.
Feel free to use it.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Jul 2006
Posts: 70
Reply with quote
I guess I don't agree, if it doesn't know how to open the file and gives an error, why is it trying to open it?
View user's profileFind all posts by cpriestSend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
NPI, but because you ask it to?
For all the editor "knows" you really want to look at the inside of that file... it is quite possible that you use the .doc extension for say PHP code or HTML...
I'm sure that if the editor would refuse to open the file because of an "unknown extension" a whole lot of other people would complain in here about that.
The Shell Menu > Open works perfectly as expected, as suggested above.
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 25 Jul 2006
Posts: 70
Reply with quote
I guess what would make the most sense to me is that if the extension is not registered in "Associations" settings, then perhaps it should just let the Shell handle it automatically?

The thing that doesn't really make sense about the way that it works now is that it can't open the file, garbled or not, it just fails with an error.

Doesn't anyone else use word files to document their project? Doesn't anyone else run into this issue?
View user's profileFind all posts by cpriestSend private message
Microsoft Word File
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic