Class CharSetUtil

  • public class CharSetUtil
    extends Object
    Utility class. Initialize Locale to character encoding mapping based on defaults and optionally a properties file CharSetMap.CHARSET_RESOURCE to be found in WEB-INF.
    Jonathan Locke, Juergen Donnerstag
    • Constructor Detail

    • Method Detail

      • getEncoding

        public static String getEncoding​(RequestCycle cycle)
        Based on the Session's locale determine the associated character encoding.
        cycle -
        Char set to use for response.