{"action":"created","issue":{"url":"https://api.github.com/repos/OpenPLi/enigma2/issues/326","repository_url":"https://api.github.com/repos/OpenPLi/enigma2","labels_url":"https://api.github.com/repos/OpenPLi/enigma2/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/OpenPLi/enigma2/issues/326/comments","events_url":"https://api.github.com/repos/OpenPLi/enigma2/issues/326/events","html_url":"https://github.com/OpenPLi/enigma2/pull/326","id":161373612,"number":326,"title":"support chinese charactor encoding,and UTF16BE and UTF16LE. ","user":{"login":"nx111","id":328562,"avatar_url":"https://avatars.githubusercontent.com/u/328562?v=3","gravatar_id":"","url":"https://api.github.com/users/nx111","html_url":"https://github.com/nx111","followers_url":"https://api.github.com/users/nx111/followers","following_url":"https://api.github.com/users/nx111/following{/other_user}","gists_url":"https://api.github.com/users/nx111/gists{/gist_id}","starred_url":"https://api.github.com/users/nx111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nx111/subscriptions","organizations_url":"https://api.github.com/users/nx111/orgs","repos_url":"https://api.github.com/users/nx111/repos","events_url":"https://api.github.com/users/nx111/events{/privacy}","received_events_url":"https://api.github.com/users/nx111/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-21T08:11:23Z","updated_at":"2016-06-21T13:31:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenPLi/enigma2/pulls/326","html_url":"https://github.com/OpenPLi/enigma2/pull/326","diff_url":"https://github.com/OpenPLi/enigma2/pull/326.diff","patch_url":"https://github.com/OpenPLi/enigma2/pull/326.patch"},"body":"hello!\r\n\r\nI patch the project to support chinese charactor sets,such as gb2312/gbk/gb18030/big5.And,I can set default charactor set in encoding.conf, It fallback encoding when in dvb-text no encoding table is given.Just add a line as:\r\n* UTF-8\r\nThis will set default encoding as utf-8.\r\n\r\nAnd these encoding can be set in encoding.conf,in addition to ISO8859-x and ISO6937:\r\nGB2312 GBK GB18030 CP936 BIG5 CP950 UTF8 UTF-8 UTF16BE UTF16LE\r\n\r\nAmong these encoding,GB2312/GBK/GB18030/CP936 use the same GB18030 charactor set,BIG5/CP950 use BIG5.\r\n"},"comment":{"url":"https://api.github.com/repos/OpenPLi/enigma2/issues/comments/227440068","html_url":"https://github.com/OpenPLi/enigma2/pull/326#issuecomment-227440068","issue_url":"https://api.github.com/repos/OpenPLi/enigma2/issues/326","id":227440068,"user":{"login":"nx111","id":328562,"avatar_url":"https://avatars.githubusercontent.com/u/328562?v=3","gravatar_id":"","url":"https://api.github.com/users/nx111","html_url":"https://github.com/nx111","followers_url":"https://api.github.com/users/nx111/followers","following_url":"https://api.github.com/users/nx111/following{/other_user}","gists_url":"https://api.github.com/users/nx111/gists{/gist_id}","starred_url":"https://api.github.com/users/nx111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nx111/subscriptions","organizations_url":"https://api.github.com/users/nx111/orgs","repos_url":"https://api.github.com/users/nx111/repos","events_url":"https://api.github.com/users/nx111/events{/privacy}","received_events_url":"https://api.github.com/users/nx111/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T13:31:32Z","updated_at":"2016-06-21T13:31:32Z","body":" \tsimplified code in eDVBTextEncodingHandler, revert change in configure.ac.\r\n\r\n`\t\t\t\tif(line[start] > 0 && line[start] <= ' ' ){\r\n\t\t\t\t\tstart++;\r\n\t\t\t\t\tcontinue;\t//skip blank char, 'start' to find the offset of the first printable char\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif(line[i] >= 'A' && line[i] <= 'Z')\r\n\t\t\t\t\tline[i]=line[i] + 0x20;\t\t//lower case the char\r\n\t\t\t}\r\n\t\t\tif( i == start )\r\n\t\t\t\tcontinue;\t//no printable char ,skip this line\r\n`\r\nhere to find the offset of the printable char  by 'start',if it equal to the end of  line, indicate the line is blank,skip it."}}
{"actor":{"display_login":"nx111"}}