internal package
Foswiki::Store::PlainFile internal package
Foswiki::Store::PlainFile is a
Foswiki::Store Foswiki::Store
that uses normal
files in a standard directory structure to store versions.
Note that .m metafiles currently only contain the CUID of the contributor. Other metadata is stored embedded in topic text.
A note on character encodings. This store is designed to work best when data is stored using UTF-8, but you can also use an alternate encoding by setting {Store}{Encoding}. Conversion to/from the alternate encoding is done at the lowest possible level - before calling file-level operations.
NOTE: Perl's low-level file operations treat file names as sequences of bytes. When a function such as 'open' is called and is passed a unicode string, 'open' interprets that string as a string of bytes. As such it is not strictly necessary to change the encoding of strings passed to these low-level functions unless {Store}{Encoding} is set to something other than 'utf-8'.