Menu

#289 Wrong codepage in HTML templates

closed-fixed
5
2011-06-11
2009-11-05
Detergen
No

Unreadable characters, when trying to edit HTML templates in foreign language. Using utf8 (Russian).

Adding
use open ':utf8';
to head of LedgerSMB/AM.pm correct situation, but I see that is a temporary solution.

Discussion

  • Janeks Kamerovskis

    The same observed for Latvian. v.1.2.18

     
  • Chris Travers

    Chris Travers - 2010-02-10

    I believe there are some other issues with cyrillic characters. I would expect these to be fixed in 1.2.20.

     
  • Chris Travers

    Chris Travers - 2011-06-11
    • assigned_to: nobody --> einhverfr
     
  • Chris Travers

    Chris Travers - 2011-06-11

    I am going ahead and correcting this as per your fix in 1.2 (rev 3221) because the page header sent as part of a general purpose header. Fix is on-going on 1.3 because the API can more safely be extended at this point.

     
  • Chris Travers

    Chris Travers - 2011-06-11

    For 1.3, I have added an API for templates to use to specify charsets. Note that currently all templates in a template must use the same charset if the template editor is used, but an add-on could be written to make this company-specific.

     
  • Chris Travers

    Chris Travers - 2011-06-11
    • status: open --> closed-fixed