Writing a special character to a file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ioshonowo
    New Member
    • Sep 2007
    • 31

    #1

    Writing a special character to a file

    Good day all.

    How can I write a special character to a file like an end of line character.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by ioshonowo
    Good day all.

    How can I write a special character to a file like an end of line character.
    What are you using to write to the file?
    Just pass the character to the write method e.g
    [CODE=java]bw.write(System .getProperty("l ine.separator") )[/CODE]

    Comment

    • ioshonowo
      New Member
      • Sep 2007
      • 31

      #3
      Originally posted by r035198x
      What are you using to write to the file?
      Just pass the character to the write method e.g
      [CODE=java]bw.write(System .getProperty("l ine.separator") )[/CODE]
      Thanks for your help.

      Comment

      Working...