Skip to content

用cat命令cat多个内容包中文文件时报 Invalid UTF-8 in text frame #3

@web80qs

Description

@web80qs

cat多个内容包中文文件时报 Invalid UTF-8 in text frame 错

_, wsData, err := wsConn.ReadMessage()
// log.Println(wsData)
// log.Println(string(wsData))
if err != nil {
    log.Println("reading webSocket message failed!:")
    log.Println(err.Error())
    // logrus.WithError(err).Error("reading webSocket message failed")
    // time.Sleep(time.Second * 10)
    return
}

websocket: close 1002 (protocol error): Invalid UTF-8 in text frame

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions