Georg Baum <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
|
| > Georg Baum <[EMAIL PROTECTED]>
| > writes:
| >
| > | José Matos wrote:
| > |
| > | > I am afraid but revert_utf8 will not be so simple. If I mix latin-1
| > | > and
| > | > latin-2 chars (an easy exercise now) how do we convert the resulting
| > | > document?
| > |
| > | That will probably become messy. For now I would like to have a
| > | 248<->249 conversion that works at least for existing 248 documents.
| >
| > 248->249 is easy... 249->248 is impossible.
|
| No. As long as you only put e.g. latin1 characters in a german document it
| should simply work with the code I posted. If you also have latin2
| characters you will get a python exception.
In general it is impossible. Specific conversions are of course
possible, but should perhaps only be done with user help.
--
Lgb