Giter Site home page Giter Site logo

gbk2utf8's Issues

RangeError (index): Index out of range: index should be less than ****: ****

error log:
[VERBOSE-2:shell.cc(181)] Dart Error: Unhandled exception:
RangeError (index): Index out of range: index should be less than 12338: 12338
#0 Uint8List.[] (dart:typed_data/runtime/libtyped_data_patch.dart:2830:7)
#1 gbk2unicode (package:gbk2utf8/src/convert.dart:28:22)
#2 gbk2utf8 (package:gbk2utf8/src/convert.dart:6:23)
#3 decodeGbk (package:gbk2utf8/src/convert.dart:10:45)

老铁 有办法gbk转utf8吗?

回来的gbk数据能够正常解析。
我这儿的需求是用gbk编码发起form表单请求,需要在数据发送之前转成gbk的,有办法吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.