类 PowerShellCodepage

java.lang.Object
com.tlcsdm.core.powershell.PowerShellCodepage

class PowerShellCodepage extends Object
Enum that contains possible CodePage values needed to correctly set the encoding in a windows console session
https://msdn.microsoft.com/de-de/library/windows/desktop/dd317756(v=vs.85).aspx
作者:
Harinus
  • 字段详细资料

  • 构造器详细资料

    • PowerShellCodepage

      PowerShellCodepage()
  • 方法详细资料

    • getCodePageNameByIdetifier

      public static String getCodePageNameByIdetifier(String cpIdentifier)
      Get the encoding value from CodePage
      参数:
      cpIdentifier - encoding value
      返回:
      String The codepage name
    • getIdentifierByCodePageName

      public static String getIdentifierByCodePageName(String cpName)
      Get the CodePage code from encoding value
      参数:
      cpName - the codepage name
      返回:
      String the identifier