java.lang.Object
org.apache.wicket.extensions.util.encoding.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.
Author:
Jonathan Locke, Juergen Donnerstag
  • Constructor Details

  • Method Details

    • getEncoding

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