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

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

    Parameters

    c
    A JIS character.

    Return Value

    The Shift-JIS equivalent of c.

    - or -

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

    Remarks
    Converts a JIS character to it's equivalent Shift-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 "ToJIS" method.
    See Also