Hi Walter,
thanks for the feedback - I've changed the urf methods to use the StringTheory methods (which are better). The only "catch" is matching up the correct windows code page for the various languages. I defaulted the "western europe" ones to ASCII - but there is an alternate code page that can be used.
So here's a test you can run - please give it a try and then let me know if it's better;
open netweb.clw
search for the method;
NetWebServerWorker.UtfToAscii
notice the CASE statement at the start of the procedure. You'll see that "store as Portuguese" is with a group of other languages. move it from the ASCII block to the "Danish" block. ie change
of net:StoreAsSpanish
orof net:StoreAsPortuguese
orof net:StoreAsFrench
orof net:StoreAsWesternEurope
orof net:StoreAsAscii
ans.ToAnsi(st:EncodeUtf8,st:CP_US_ASCII)
of net:StoreAsDanish
ans.ToAnsi(st:EncodeUtf8,st:CP_WINDOWS_1252)
to
of net:StoreAsSpanish
orof net:StoreAsFrench
orof net:StoreAsWesternEurope
orof net:StoreAsAscii
ans.ToAnsi(st:EncodeUtf8,st:CP_US_ASCII)
of net:StoreAsDanish
orof net:StoreAsPortuguese
ans.ToAnsi(st:EncodeUtf8,st:CP_WINDOWS_1252)
Then search for
NetWebServerWorker.AsciiToUtf
and do the same there.
Let me know what happens.
cheers
Bruce