{"action":"created","issue":{"url":"https://api.github.com/repos/mp911de/lettuce/issues/361","repository_url":"https://api.github.com/repos/mp911de/lettuce","labels_url":"https://api.github.com/repos/mp911de/lettuce/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/mp911de/lettuce/issues/361/comments","events_url":"https://api.github.com/repos/mp911de/lettuce/issues/361/events","html_url":"https://github.com/mp911de/lettuce/issues/361","id":178508231,"number":361,"title":"zrangebylex and zadd are not encoding values the same way","user":{"login":"madgnome","id":279528,"avatar_url":"https://avatars.githubusercontent.com/u/279528?v=3","gravatar_id":"","url":"https://api.github.com/users/madgnome","html_url":"https://github.com/madgnome","followers_url":"https://api.github.com/users/madgnome/followers","following_url":"https://api.github.com/users/madgnome/following{/other_user}","gists_url":"https://api.github.com/users/madgnome/gists{/gist_id}","starred_url":"https://api.github.com/users/madgnome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madgnome/subscriptions","organizations_url":"https://api.github.com/users/madgnome/orgs","repos_url":"https://api.github.com/users/madgnome/repos","events_url":"https://api.github.com/users/madgnome/events{/privacy}","received_events_url":"https://api.github.com/users/madgnome/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mp911de/lettuce/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mp911de/lettuce/milestones/19","html_url":"https://github.com/mp911de/lettuce/milestones/Lettuce%204.3.0","labels_url":"https://api.github.com/repos/mp911de/lettuce/milestones/19/labels","id":1811031,"number":19,"title":"Lettuce 4.3.0","description":"","creator":{"login":"mp911de","id":1035015,"avatar_url":"https://avatars.githubusercontent.com/u/1035015?v=3","gravatar_id":"","url":"https://api.github.com/users/mp911de","html_url":"https://github.com/mp911de","followers_url":"https://api.github.com/users/mp911de/followers","following_url":"https://api.github.com/users/mp911de/following{/other_user}","gists_url":"https://api.github.com/users/mp911de/gists{/gist_id}","starred_url":"https://api.github.com/users/mp911de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mp911de/subscriptions","organizations_url":"https://api.github.com/users/mp911de/orgs","repos_url":"https://api.github.com/users/mp911de/repos","events_url":"https://api.github.com/users/mp911de/events{/privacy}","received_events_url":"https://api.github.com/users/mp911de/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":27,"state":"open","created_at":"2016-06-06T14:34:38Z","updated_at":"2016-09-22T20:00:15Z","due_on":"2016-11-01T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-09-22T02:52:01Z","updated_at":"2016-09-22T21:49:29Z","closed_at":"2016-09-22T20:00:15Z","body":"`zadd` encodes value using `addValue` but `zrangebylex` and co. encodes them as string using `add(String s)`. As a result it's impossible to get results for unicode values out of the ascii range.\r\n\r\n```\r\n    // Add this test to SortedSetCommandTest\r\n    @Test\r\n    public void zrangebylexUnicode() throws Exception {\r\n\r\n        redis.zadd(key, 0d, \"a\");\r\n        redis.zadd(key, 0d, \"富\");\r\n\r\n        List<String> result = redis.zrangebylex(key, \"[a\", \"[a\\uFFFF\");\r\n        assertThat(result).hasSize(1);\r\n\r\n        result = redis.zrangebylex(key, \"[富\", \"[富\\uFFFF\");\r\n        assertThat(result).hasSize(1); // This will fail\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/mp911de/lettuce/issues/comments/249038441","html_url":"https://github.com/mp911de/lettuce/issues/361#issuecomment-249038441","issue_url":"https://api.github.com/repos/mp911de/lettuce/issues/361","id":249038441,"user":{"login":"madgnome","id":279528,"avatar_url":"https://avatars.githubusercontent.com/u/279528?v=3","gravatar_id":"","url":"https://api.github.com/users/madgnome","html_url":"https://github.com/madgnome","followers_url":"https://api.github.com/users/madgnome/followers","following_url":"https://api.github.com/users/madgnome/following{/other_user}","gists_url":"https://api.github.com/users/madgnome/gists{/gist_id}","starred_url":"https://api.github.com/users/madgnome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madgnome/subscriptions","organizations_url":"https://api.github.com/users/madgnome/orgs","repos_url":"https://api.github.com/users/madgnome/repos","events_url":"https://api.github.com/users/madgnome/events{/privacy}","received_events_url":"https://api.github.com/users/madgnome/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T21:49:29Z","updated_at":"2016-09-22T21:49:29Z","body":"Awesome, thanks a lot!"}}
{"actor":{"display_login":"madgnome"}}