Input for WinForms | ComponentOne
C1.Win.Input Namespace / CharHelper Class / ToJIS Method
A Shift-JIS character.

In This Topic
    ToJIS Method
    In This Topic
    Converts the value of a Shift-JIS (Japanese encoding) character to it's JIS equivalent.
    Syntax
    'Declaration
     
    
    Public Shared Function ToJIS( _
       ByVal c As Char _
    ) As Char
    public static char ToJIS( 
       char c
    )

    Parameters

    c
    A Shift-JIS character.

    Return Value

    The JIS equivalent of c.

    - or -

    The unchanged value of c, if c is not a full width character.

    Remarks
    Converts a Shift-JIS character to it's equivalent JIS character - used in the Japanese language. Please note that this method does not take a Unicode character as it's parameter - use the character value returned by the "ToSJIS" method.
    See Also