Getting junk characters for Japanese language when POSTing on closed caption 3rd party API

Using this template helps us debug your issues more effectively :slight_smile:

Description
We are getting junk characters(???) for Japanese language when POSTing on closed caption 3rd party API for a meeting using code.

Which Endpoint/s?
3rd party Closed caption service

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Copy the caption url from the zoom meeting.
  2. Post message from the API in a meeting using java code.

Below is the code snippet used:

RestTemplate restTemplate = new RestTemplate();
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.TEXT_PLAIN);
headers.setAcceptCharset(Arrays.asList(Charset.forName(“UTF-8”)));
HttpEntity entity = new HttpEntity<>(message, headers);
LOGGER.info(“Posting on Zoom → {}” ,url);
ResponseEntity response = restTemplate.exchange(ccUrl, HttpMethod.POST, entity,
String.class);

Can you please suggest on this.

Hi @shwetajain2812,

Can you please share an example or screenshot of the response you’re seeing?

Thanks!
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.