Blame view

src/main/java/com/jfinal/weixin/sdk/utils/Charsets.java 459 Bytes
e80df919   atao   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  package com.jfinal.weixin.sdk.utils;
  
  import java.nio.charset.Charset;
  
  /**
   * 字符集工具类
   * Author: L.cm
   * Date: 2016329 下午3:44:52
   */
  public class Charsets {
  
      // 字符集GBK
      public static final Charset GBK = Charset.forName("GBK");
      // 字符集ISO-8859-1
      public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
      // 字符集utf-8
      public static final Charset UTF_8 = Charset.forName("UTF-8");
  
  }