-
Notifications
You must be signed in to change notification settings - Fork 0
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
Encoding varsayılan olarak UTF8 ayarlanmalı #39
Comments
@msdundar bu daha çok client bağlamında bir sorun gibi görünüyor. Response:
Ayrıca diğer istemcilerle sorun yaşamıyorum. Faraday default adaptörü |
Bir de response zaten JSON formatında. require 'json'
JSON.parse(json_data) |
@msdundar bunun client-side bir sorun olduğuna eminiz. diğer dillerle ve GitHub API ile test ettiğimde de encoding "ASCII-8BIT" dönüyor. bu yüzden iş kaydını kapatıyorum |
Açıklama
Xokul'dan dönen yanıtlar
#<Encoding:ASCII-8BIT>
olarak encode edilmiş görünüyor:Dönen yanıt örneği:
Gelen response'a
to_json
dediğimde hata alıyorum:Ancak
force_encoding
yapabiliyorum:Beklenen davranış
Varsayılan olarak UTF8 gelmesi.
The text was updated successfully, but these errors were encountered: