jenius-apps / nightingale-rest-api-client

A modern, resource-efficient REST API client for Windows
https://nightingale.rest
MIT License
743 stars 35 forks source link

Add big5 encoding support #134

Open FocacciaSyin opened 3 years ago

FocacciaSyin commented 3 years ago

Same Request working on Postman & Browse ,Could you please help me confirm the following information?

Get URL: https://ezfund.moneydj.com/w/query/result/djjson/SearchJSON.djjson?P1=ezfund&P2=False&P3=False&P4=False&P5=0&m=0&Change=1&companycode=CATH

ErrorMessage: The character set provided in ContentType is invalid. Cannot read content as string using an invalid character set. at System.Net.Http.HttpContent.ReadBufferAsString(ArraySegment1, HttpContentHeaders) + 0x17f at System.Net.Http.HttpContent.ReadBufferedContentAsString() + 0xa5 at System.Net.Http.HttpContent.<>c.<ReadAsStringAsync>b__30_0(HttpContent) + 0xe at System.Net.Http.HttpContent.<WaitAndReturnAsync>d__612.MoveNext() + 0x135 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at Nightingale.Core.Client.NightingaleClient.d8.MoveNext() + 0x1a4 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at Nightingale.Core.Client.NightingaleClient.d7.MoveNext() + 0x2e7 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at Nightingale.Core.Services.RequestSender.d__5.MoveNext() + 0x152

image

dpaulino commented 3 years ago

Thanks for creating an issue. I'll investigate soon

dpaulino commented 3 years ago

Jotting down notes from my investigation:

I may need to manually add big5 encoding support following this repo: https://github.com/chenrensong/Encoding.UWP

dpaulino commented 3 years ago

Note to self: