Hello,Although we and our customers are happy with ChicagoBoss applications, there are several problems I'd like to present and discuss here:(1) e-mail localization vs multipart vs attachments -- the problem is described here: https://gist.github.com/4437818
(2) erlydtl tags and filters seems to be not aware of multibyte encodings. Well, this has a lot of to do with Erlang itself, but it is not so good for people to easily use since many people sticked with UTF-8 whether it is . A typical case is the truncatechars filter which cuts no matter if it is whole character or not...
I think there are three possible solutions:
- add a new boss.config variable to enforce all the view variables to be treated as multibyte when it comes application of some filters (this is my preferred variant);
- try to autodetect encoding from template header (not guarantee to have such a header in there; the content may not be xml-compatible in all the cases);
- try to autodetect each string individually -- not so reliable.
(3) and another, not so i18n-related, note at the end: there are many things that are documented in the django docs, but what's not supported in CB's view processor. One of tags which I really miss, is if-elif-else-endif. It's not so common, but there're cases where it is much better than endless unreadable nesting of if-else-endifs.
Any ideas/notes/patches? ;-)
Thanks,
Tom
Hello,Although we and our customers are happy with ChicagoBoss applications, there are several problems I'd like to present and discuss here:(1) e-mail localization vs multipart vs attachments -- the problem is described here: https://gist.github.com/4437818
(2) erlydtl tags and filters seems to be not aware of multibyte encodings. Well, this has a lot of to do with Erlang itself, but it is not so good for people to easily use since many people sticked with UTF-8 whether it is . A typical case is the truncatechars filter which cuts no matter if it is whole character or not...
I think there are three possible solutions:
- add a new boss.config variable to enforce all the view variables to be treated as multibyte when it comes application of some filters (this is my preferred variant);
- try to autodetect encoding from template header (not guarantee to have such a header in there; the content may not be xml-compatible in all the cases);
- try to autodetect each string individually -- not so reliable.
(3) and another, not so i18n-related, note at the end: there are many things that are documented in the django docs, but what's not supported in CB's view processor. One of tags which I really miss, is if-elif-else-endif. It's not so common, but there're cases where it is much better than endless unreadable nesting of if-else-endifs.
Any ideas/notes/patches? ;-)
Thanks,
Tom
--