Ignore:
Timestamp:
Feb 16, 2009, 4:26:24 PM (15 years ago)
Author:
イグトランス (egtra)
Message:

UTF8Encodingクラスをとりあえず使える状態に。ただし、BOM出力はまだ不可能。
(#231)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/src/Classes/System/Text/UTF8Encoding.ab

    r676 r682  
    111111                            dst.Add((&hDC00 Or (buffer And &h3FF)) As WCHAR)
    112112                        Else
    113                             '最短形式でないもの、4バイト形式で10FFFFを超えるコードポイントのもの
     113                            '最短形式でないもの、または4バイト形式で10FFFFを超えるコードポイントのもの
    114114                            dst.Add(&hfffd As WCHAR)
    115115                        End If
     
    196196    End Function
    197197*/
    198 Protected
    199     Override Function GetBytesCountCore(src As *WCHAR, srcCount As Long) As Long
    200     End Function
    201 
    202     Override Function GetBytesCore(src As *WCHAR, srcCount As Long, dst As *Byte, dstCount As Long) As Long
    203     End Function
    204 
    205     Override Function GetCharsCountCore(src As *Byte, srcCount As Long) As Long
    206     End Function
    207 
    208     Override Function GetCharsCore(src As *Byte, srcCount As Long, dst As *WCHAR, dstCount As Long) As Long
    209     End Function
    210198
    211199Private
Note: See TracChangeset for help on using the changeset viewer.