Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jave File write in Unix

 
Rashid Akhter
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi ,

I am working on htmlparser which contains some empty tag with whitespace like

<span some attributes> </span> ,

when I am trying to write this string to a file in unix sytem it is replacing white space with ? like <span some attributes>?</span>.

Please suggest if unix takes white space as a special character and how to get rid of '?' .

Thanks,





 
Zandis Murāns
Ranch Hand
Posts: 174
Java Java ME Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please provide us with your code.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rashid Akhter,

Can you please be more specific?

Unix/Linux treat some characters as special in file names and directory names, but not as characters within a file. Which are you concerned about?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic