Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

dsh0416/euc-jp

Open more actions menu

Repository files navigation

euc

EUC-JP and Shift_JIS Encoding and Decoding Library for Dart Language

Build Status

Examples

import 'package:euc/euc.dart';
import 'package:euc/jis.dart';

main() {
  // EUC-JP Encoding and Decoding
  print(EucJP().decode([
    164, 170, 164, 207, 164, 232, 164, 166, 192, 164, 179, 166
  ]));

  print(EucJP().encode("おはよう世界"));

  // Shift_JIS Encoding and Decoding
  print(ShiftJIS().decode([
    130, 168, 130, 205, 130, 230, 130, 164, 144, 162, 138, 69
  ]));

  print(ShiftJIS().encode("おはよう世界"));
}

About

EUC-JP Encoding and Decoding Library for Dart Language

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.