How can I convert from Pharo's encoding to Pier's one?
Pier has no encoding on its own. Encoding depends on what Seaside
server adaptor you are using.
WAKom: If you use this server adapter no conversion is happening, that
means the strings are in UTF-8 and look messed up when being looked at
from within the image. Common operation like #size,
#includesSubstring:, #matches: and #, might return unexpected results.
As long as the strings are sent back verbatim that works well and is
WAKomEncoded: If you use this server adapter incoming strings are
converted from UTF-8 to Squeak, outgoing ones from Squeak to UTF-8.
These strings look ok in Squeak, as long as the font you are using
supports to display these characters. Conerting from and to UTF-8 is
slow, but your regular expressions should work assuming that your
regular expression engine works on wide strings.