This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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