인코딩 API
Experimental: 이 기능은 실험적인 기능입니다.
프로덕션 환경에서 사용하기 전에 브라우저 호환성 표를 주의 깊게 확인하세요.
인코딩 API는 character encodings, UTF-8이 아닌 레거시 인코딩을 포함한 다양한 문자열을 제어할 수 있는 매커니즘을 제공한다.
인코딩 API는 4가지 인터페이스를 제공한다. TextDecoder
, TextEncoder
, TextDecoderStream
, TextEncoderStream
등 이다.
Interfaces
Tutorials & tools
- A shim allowing to use this interface in browsers that don't support it.
StringView
– a C-like representation of strings based on typed arrays.
명세서
Specification |
---|
Encoding # interface-textdecoder |
Encoding # interface-textencoder |
Encoding # interface-textencoderstream |
Encoding # interface-textdecoderstream |