chardet
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -171,3 +171,3 @@ "use strict"; | ||
name() { | ||
return 'Shift-JIS'; | ||
return 'Shift_JIS'; | ||
} | ||
@@ -174,0 +174,0 @@ language() { |
{ | ||
"name": "chardet", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"homepage": "https://github.com/runk/node-chardet", | ||
@@ -5,0 +5,0 @@ "description": "Character detector", |
@@ -64,3 +64,3 @@ # chardet [![Build Status](https://travis-ci.org/runk/node-chardet.png)](https://travis-ci.org/runk/node-chardet) | ||
- ISO-2022-CN | ||
- Shift-JIS | ||
- Shift_JIS | ||
- Big5 | ||
@@ -67,0 +67,0 @@ - EUC-JP |
@@ -6,4 +6,4 @@ import * as chardet from '..'; | ||
it('should return SHIFT-JIS', () => { | ||
expect(chardet.detectFileSync(base + '/shiftjis')).toBe('Shift-JIS'); | ||
it('should return Shift_JIS', () => { | ||
expect(chardet.detectFileSync(base + '/shiftjis')).toBe('Shift_JIS'); | ||
}); | ||
@@ -10,0 +10,0 @@ |
@@ -204,7 +204,7 @@ import { Context, Recogniser } from '.'; | ||
/** | ||
* Shift-JIS charset recognizer. | ||
* Shift_JIS charset recognizer. | ||
*/ | ||
export class sjis extends mbcs { | ||
name() { | ||
return 'Shift-JIS'; | ||
return 'Shift_JIS'; | ||
} | ||
@@ -211,0 +211,0 @@ language() { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet