The files attached to this topic are
complete .txt files suitable for use with Rcs* and PlainFile stores. They contain text suitable for testing different encodings.
To use them,
- Make sure the
{Site}{CharSet}
(or {Store}{Encoding}
for Foswiki 2.0) is set to the encoding of the .txt file
- Download the file (use 'Save link as', copy-pasting the file content will not work) and install it in the web of your choice
- Test it!
Note that these files are used for testing Foswiki 1.1.9 and earlier, and the upgrade to Foswiki 2.0.
Note that cutting and pasting the content of these files is unlikely to work.
If you want to generate a topic with a file name that uses a specific encoding, you can do it like this:
perl -MEncode -e 'use utf8;open(F,">", Encode::encode("iso-8859-1", "ScóòþýDoø.txt"));print F "X"; close(F)'
(assuming your console uses utf8). This is also a useful way to check if a utf-8 character has a codepoint in the target encoding.
If you create any test topics for other encodings, please feel free to upload them here.