On Mon, Dec 09, 2002 at 01:52:14PM -0800, Brion Vibber wrote:
On Mon, 2002-12-09 at 11:00, Tomasz Wegrzanowski wrote:
There are two encodings: $wgInputEncoding and $wgOutputEncoding
What do they mean ?
Roughly speaking:
- $wgInputEncoding is the char encoding used internally, in the database
and in processing.
- $wgOutputEncoding is the char encoding we talk to the browser with;
when outputting the page, we do an iconv() from input to output encodings if they're different. (If the two encodings don't cover the same range of characters, there will be data loss.)
- $wgEditEncoding is an ugly hack I put in to get the X-conversion
people wanted for the Esperanto wikipedia. If this is different from $wgOutputEncoding, we convert form input from this to input encoding and back.
The Language class has an iconv() wrapper, so custom conversions can be used.
So I should just ignore $wgOutputEncoding and pass $wgInputEncoding as an argument to texvc right ?