Page 1 of 1

FormBrowser 0.2.3: dual browsers on one page alters page encoding

Posted: Thu Jun 26, 2008 9:11 pm
by Niklas Falk
I have a small problem after upgrading to 0.2.3 from 0.2.
I use multiple browsers on the same page to summarize several lists.

The templates are set to UTF-8 and it works fine. But after upgrading to 0.2.3 the pages with more than one browser now switch to ISO-8859-1.
I've tried to use the lang="sv_SE" option but that doesn't help at all (I have not checked the en_US.php and sv_SE.php though).

Re: FormBrowser 0.2.3: dual browsers on one page alters page encoding

Posted: Fri Jun 27, 2008 7:51 am
by Niklas Falk
I solved one small issue with the upgrade. I edited the sv_SE.php to include all the tags in the en_US.php. The "prev" tag and a bunch of others are missing from the sv_SE.php, I have not checked the other language files.

After reading the language files I realize that using more then one browser on one page might be "unwise" but I see no performance problem in my case, just a strange dealing with encoding and char sets.
I probably have to redesign the pages somewhat since that's easier than debugging the code.

Another small problem is that you cannot sort on fields that have localized characters in the field name, the names get lost n the conversion havoc and no sorting is performed.
Edit: This problem only occurs when you enter that field in the tag, sorting by using the links in the new template works... :D