Coder Social home page Coder Social logo

Comments (7)

walkor avatar walkor commented on July 20, 2024

一般是网页不是utf8编码导致的。
网页文件本身要utf8编码,并且网页charset="utf-8"

from web-msg-sender.

dawnBefore avatar dawnBefore commented on July 20, 2024

我用的是chrome 编码是UTF-8, charset也是UTF-8, 传输中文的时候会卡住,服务器端的代码不会执行,我现在采用的是转Unicode编码,这种做法感觉不太好?

from web-msg-sender.

walkor avatar walkor commented on July 20, 2024

先不要集成在你的网页里,
试下这个demo是否有问题

from web-msg-sender.

dawnBefore avatar dawnBefore commented on July 20, 2024

好的,我试下

from web-msg-sender.

dawnBefore avatar dawnBefore commented on July 20, 2024

还是不行,简单的放在我的网页里试了下,传中文还是有错

from web-msg-sender.

walkor avatar walkor commented on July 20, 2024

我的意思是你先不要集成在你的网页里,什么也不要改,试下demo有没有问题。

或者你干脆测试下 http://www.workerman.net:2123/ 看看是否有问题。

from web-msg-sender.

dawnBefore avatar dawnBefore commented on July 20, 2024

sorry, 我是个php新手,我只会放在网页中测试...我再研究下吧

from web-msg-sender.

Related Issues (19)

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.