PaddlePaddle / PaddlePaddle/FastDeploy

服务化部署。http调用返回识别结果正常,grpc调用特殊符号部分会乱码

Open
#2,473 0 comments 0 reactions 1 assignee View on GitHub

@jiangjiajun is already working on this.

Since Jun 15, 2024.

Dominant language
Python
Stars
3.7k
Forks
756
Avg merge
19h 28m
Merged PRs (30d)
4

Description

环境

  • 【FastDeploy版本】: fastdeploy:1.0.4-cpu-only-21.10

问题日志及出现问题的操作流程

都是在同一个java类文件里执行识别同一张图片,http能正常显示应该不是我这边的编码问题吧。还有grpc提供的一个校验btyeString是否为utf-8的方法也是返回true的,但是我使用对应的toStringUtf8()方法输出字符串却是识别内容部分正常,其它部分乱码,这返回结果我没办法进一步处理了。我想请教一下是我初学grpc没搞明白原理,还是确实是服务化部署代码grpc接口这块就是有问题的需要修正。

QQ截图20240615232630

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.