Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't show the term #1

Closed
ates opened this issue Sep 25, 2014 · 1 comment
Closed

Can't show the term #1

ates opened this issue Sep 25, 2014 · 1 comment

Comments

@ates
Copy link

ates commented Sep 25, 2014

Term:

{error,{asn1,{wrong_tag,{{expected,16},
                         {got,131073,
                              {131073,
                               [{2,<<0>>},
                                {2,<<0>>},
                                {16,
                                 [{131072,<<1>>},
                                  {131074,<<4,16,151,32,130,4,6,240>>},
                                  {131075,<<132,17,151,37,132,146,8,7>>},
                                  {131077,<<"\n">>},
                                  {131080,<<0>>},
                                  {131082,<<132,147,24,38,3>>},
                                  {131084,<<3,20,89,66,40,137,80>>},
                                  {131095,<<145,129>>},
                                  {131099,[{131072,<<128,144,163>>}]},
                                  {131100,<<2>>},
                                  {131101,<<3,20,89,66,40,137,80>>},
                                  {131102,<<3,97>>},
                                  {131122,<<82,32,80,5,96,41,152,249>>},
                                  {131125,[{131075,<<17>>}]},
                                  {131126,<<65,51,1,54,3,55,150>>},
                                  {131127,<<145,151,32,130,147,149,241>>},
                                  {131129,<<2,65,144,48,97,16,101,97>>},
                                  {131131,
                                   [{131073,
                                     <<145,151,32,130,147,149,241>>}]}]}]}}}}}}

tx error:

{exit,{ucs,{bad_utf8_character_code}},
      [{xmerl_ucs,from_utf8,1,[{file,"xmerl_ucs.erl"},{line,185}]},
       {tx_mochijson2,json_encode_string,2,
                      [{file,"src/tx_mochijson2.erl"},{line,200}]},
       {tx_mochijson2,'-json_encode_proplist/2-fun-0-',3,
                      [{file,"src/tx_mochijson2.erl"},{line,181}]},
       {lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
       {tx_mochijson2,json_encode_proplist,2,
                      [{file,"src/tx_mochijson2.erl"},{line,184}]},
       {tx_mochijson2,'-json_encode_array/2-fun-0-',3,
                      [{file,"src/tx_mochijson2.erl"},{line,171}]},
       {lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
       {tx_mochijson2,json_encode_array,2,
                      [{file,"src/tx_mochijson2.erl"},{line,173}]}]}
@kvakvs
Copy link
Owner

kvakvs commented Sep 25, 2014

Seems to be fixed. Detects bad utf8 and tested to avoid false positives.

@kvakvs kvakvs closed this as completed Sep 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants