hi,

do you have "*# -*- coding: utf-8 -*-"*  (without the quotes) on top of 
your controller file? 


On Monday, August 6, 2012 8:24:29 PM UTC+3, alonn wrote:
>
> getting:
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xee in position 0: 
> invalid continuation byte
>
> in one of my admincontrollers:
>
> adminPriority = AdminController([Activities, Deposit, Ashmas], DBSession2, 
> config_type=TGAdminConfig)
>
> basicaly I have two db backends - so I need double DBSEssion etc, admin 
> controller etc. the problematic one is the one working with mssql2005 (the 
> mysql one works fine)
> the controller shows me the right models but when I press one of them: (or 
> any other model)
> http://localhost:8080/adminPriority/activitiess/
>
> instead of getting the default admin table view I get this annoying error.
>
> both db backends work fine in the logic part of the application. the only 
> difference is in the admincontroller. 
>
> I'd also like to get rid of the extra 'plural' form tg is adding to my 
> models (turning activities into activitiess etc)
>
> thanks for the help
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/qEe-mPUuCsIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to