Giter Site home page Giter Site logo

tasukus / rtoss Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 16.64 MB

Automatically exported from code.google.com/p/rtoss

C++ 12.56% C 83.15% PHP 0.75% CSS 0.02% Perl 0.66% Batchfile 0.01% Makefile 0.63% Shell 0.64% NSIS 0.05% Java 0.61% HTML 0.15% Smarty 0.09% Perl 6 0.05% Objective-C 0.17% TeX 0.29% Groff 0.15% Tcl 0.01% Logos 0.01% XSLT 0.01% PLpgSQL 0.01%

rtoss's People

Contributors

roytam1 avatar

Watchers

James Cloos avatar  avatar

rtoss's Issues

GB18030 support for GreenPad

What steps will reproduce the problem?
1. Open any text file encoded in GB18030 with 4-byte char sequences.
2. Auto detect file encoding.


What is the expected output? What do you see instead?
It is expected to decode the file as GB18030 or GBK.
GreenPad decodes the file as Shift-JIS or Turkish.


What version of the product are you using? On what operating system?
SVN revision 166. XP SP3.


Please provide any additional information below.
I have made local modifications to use CP54936 instead of CP936 for Chinese 
text, and implemented CharNext and detection for GB18030, as the M$ Windoze API 
sucks. Here is the patch attached.

It seems to work in my test cases, but I hope anyone could conduct more 
thorough tests to make it robust enough for merging into mainstream hopefully.

However the patch has one known problem, that 1-byte Euro sign (0x80) in CP936 
no longer works in CP54936. Maybe it would be a better solution to separate GBK 
and GB18030 handling routines.

Original issue reported on code.google.com by [email protected] on 1 Jan 2011 at 6:37

Attachments:

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.