pagekit / vue-resource

The HTTP client for Vue.js
MIT License
10.08k stars 1.6k forks source link

How does vue-resource set the encoding? #651

Open ZengGuanBao opened 7 years ago

ZengGuanBao commented 7 years ago

image Use vue-r to request resources, but the returned Chinese data is garbled

samsong8610 commented 7 years ago

Could you paste the headers of request and response? And what correct encoding the response should be?

imakan commented 6 years ago

hi,I also encountered the same problem as you.how did you solve it? the Chinese data is garbled

imakan commented 6 years ago

this is answer: https://github.com/pagekit/vue-resource/issues/656 https://github.com/pagekit/vue-resource/issues/326