Friday, December 18, 2009

Writing resource file (I18N)

  • "\\" stands for "\"
  • "\n" stands for the newline character, U+000A
  • "\t" stands for the horizontal tab character, U+0009
  • "\ " stands for the space character, U+0020
  • Lines whose first non-whitespace character is "#" are comment lines and are ignored.
  • "\#" stands for the number sign character, U+0023.
  • This is only needed if a line within a heredoc string starts with this character.
  • Lines that contain only whitespace characters and are not part of a heredoc string are ignored
  • Leading and trailing whitespace is trimmed from both key and value
Source

No comments: