Skip to content

Commit

Permalink
Possible fix for #46, enable encoding based on locale
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdonnison committed Jan 9, 2019
1 parent 4255133 commit b408303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jpgraph/src/jpgraph_ttf.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
// where $locale_char_set is a GLOBAL (string) variable
// from the application including JpGraph.
//
define('LANGUAGE_CHARSET', null);
define('LANGUAGE_CHARSET', $GLOBALS['locale_char_set']);

// Japanese TrueType font used with FF_MINCHO, FF_PMINCHO, FF_GOTHIC, FF_PGOTHIC
// Standard fonts from Infomation-technology Promotion Agency (IPA)
Expand Down

0 comments on commit b408303

Please sign in to comment.