Coder Social home page Coder Social logo

Comments (8)

hooopo avatar hooopo commented on July 23, 2024

ok,一定支持。。
返回的错误信息是什么?
你使用的是什么网站的API,新浪?
发不带图的中午状态不会返回错误吧?

目前机器上没有测试环境。。

from oauth_china.

liuliang avatar liuliang commented on July 23, 2024

机器没有测试环境。。。。
Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT
新浪
add_status 完美
另外新浪的api已经更新了,出来第二版的了

from oauth_china.

hooopo avatar hooopo commented on July 23, 2024

这是一个字符编码的问题
你使用的ruby和rails版本还有机器是什么?
在我机器上没有问题的。

from oauth_china.

liuliang avatar liuliang commented on July 23, 2024

ruby 1.9.2 rails3.0.9

from oauth_china.

liuliang avatar liuliang commented on July 23, 2024

ubuntu 虚拟机

from oauth_china.

hooopo avatar hooopo commented on July 23, 2024

你的文件头部加上编码声明了没:

   # encode: utf-8

from oauth_china.

liuliang avatar liuliang commented on July 23, 2024

恩,加了,我们的两台服务器 也是同样的情况,centos

from oauth_china.

hooopo avatar hooopo commented on July 23, 2024

我重现不出来这样的问题呀 你可以提供一个patch吗

from oauth_china.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.