Skip to content

Commit 1f12c66

Browse files
authored
Merge pull request #2610 from ima1zumi/add-encoding-cesu-8
Add Encoding::CESU_8 since 2.7.0
2 parents bfb37ff + 84cb2b8 commit 1f12c66

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

refm/api/src/_builtin/Encoding

+10
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,16 @@ ASCII-8BIT、ASCII互換オクテット列用のエンコーディングです
238238

239239
もっぱら文字エンコーディングを持たないデータ、文字を符号化したのではない単なるバイトの列を表現するために用いますが、このエンコーディングは ASCII 互換であることがポイントです。
240240

241+
#@since 2.7.0
242+
--- CESU_8 -> Encoding
243+
244+
CESU-8 エンコーディングです。
245+
246+
UTF-8 の亜種です。Unicode コンソーシアムは使用を推奨していません。
247+
248+
@see [[url:https://bugs.ruby-lang.org/issues/15931]], [[url:https://www.unicode.org/reports/tr26/tr26-4.html]]
249+
#@end
250+
241251
--- EUC_JP -> Encoding
242252
--- EucJP -> Encoding
243253
--- EUCJP -> Encoding

0 commit comments

Comments
 (0)