[Solar-talk] UTF-8
Rodrigo Moraes
rodrigo.moraes at gmail.com
Mon Jul 17 08:26:45 PDT 2006
On 7/17/06, Paul M Jones wrote:
> > Wouldn't it be good to convert all existent locale files to UTF-8 and
> > add a <meta> to define the charset for Solar apps? They would be
> > better prepared for I18n. I can convert the locales and send them
> > together with the pt_BR ones, if you agree.
>
> Hm, that sounds like a good idea. Can anyone here think why that
> would be a problem? If not, I can add it to the Solar_App layout
> files pretty easily.
I think the charset for the database tables should also be UTF-8
encoded (and thus Solar_Sql_Table method for table creation should be
changed). I'm not very used to I18n issues, but if this is really a
requirement, well, it should be done so Solar_Apps will be ready for
I18n.
> Embedded in the various model objects that compose Solar_Content:
> look in Solar_Model_Nodes in the _setup() method, where $col and $idx
> are defined. The table is automatically created the first time the
> Solar_Model_Nodes object is instantiated.
Hmmm, thanks. I had this newbie doubt after I've tried to insert a
bookmark and got a exception "Unknown column 'areas.title' in 'field
list'.". Forget it, the tables were created automatically and
something happened, but I'll drop them, start again and see what I've
done wrong.
thanks,
rodrigo moraes / brazil
More information about the solar-talk
mailing list