[TYPO3-dev] problem:: report & analysis: 4.1.2 is coming with codepage inconsistancy
ries van Twisk
typo3 at rvt.dds.nl
Fri Aug 17 20:59:07 CEST 2007
On Aug 17, 2007, at 1:47 PM, Ernesto Baschny [cron IT] wrote:
> Hi Martin,
>
> Martin Bless wrote: on 17.08.2007 19:45:
>
>> Problem:
>> In a freshly installed Dummy-TYPO3-4.1.2 all UTF-8 installation you
>> will find that your MySql-dump will contain UTF-8 errors right away.
>
> What do you mean with "MySql-dump will contain UTF-8 errors"? Which
> MySQL version are you using? What is the exact "error" you get and
> when?
> I think it is not illegal to have latin-1 bytes in UTF-8 tables (or
> the
> other way around), its just a matter what you do with that data in
> your
> application. So I wonder where did you hit this problem?
Of course it's a problem to have UTF-8 bytes in a latin-1 encoded table.
This because the application expects latin-1 encoding and when we output
to UTF-8 some encoding is needed.
>
> The mentioned static-tables (from typo3/cms/) are almost all obsolete,
> in special those that contain 8-bit codes (translation for several
> old-school extensions).
>
fully agreed...
> But you are right that in general no charset conversion is made when
> reading in ext_tables_static+adt.sql. This is not really possible,
> because we will have to know (and record) the charset for every INSERT
> statement in that file as we could have different charsets in a single
> installation (e.g. each language has its own default charset). Another
> choice would be to force this file to be UTF-8 encoded by default, but
> then we will have to know the language for each single INSERT
> statement
> to be able to do a conversion to the chosen charset for that specific
> installation. Both I consider non-trivial.
Isn't the upcoming 4.1.2 of typo3 an all UTF-8 by default installation?
>
> Best and easiest is to use UTF-8 in ext_tables_static+adt.sql and have
> people use forceCharset to UTF-8 if they want to use them. And instead
> of fixing the provided sysext/cms/ext_tables_static+adt.sql file, we
> should just drop those static templates "for good". :)
hehehe yes yes... But for the sake of backwards compatibility to
1999........ bla bla
>
> Cheers,
> Ernesto
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
More information about the TYPO3-dev
mailing list