Open LiamKarlMitchell opened 10 years ago
http://2cyr.com/decode/?lang=en
Managed to re-encode the korean. ÆıØÆȺ¯µµ to 파극팔변도 cp949 to iso8859-1
https://www.npmjs.com/package/encoding
var encoding = require("encoding");
var resultBuffer = encoding.convert(process.argv[2], 'cp949', 'iso8859-1');
console.log(resultBuffer);
In csharp maybe something like this. Can of course use static for the 949 encoding get it once and re-use.
byte[] utf8Bytes = Encoding.Convert(Encoding.GetEncoding(949), Encoding.UTF8, bytes);
var yoString = Encoding.UTF8(utf8Bytes).ToString();
Look at dumping out Game Infos strings from Korean data using utf8. Need to get strings that are actually valid and can be passed to google translate or human translators.
Some items and other things have really broken characters that apparently don't even make up proper words. http://nodejs.org/api/string_decoder.html