Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Core SDK

Vivox Core SDK

Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
    • Client SDK basics
      • Initialize the Vivox SDK
      • Handle messages
      • Message types
      • Character encoding
      • Requests and responses
      • Create the connector object
      • Sign in to a game
      • Sign out of a game
      • Uninitialize the Vivox SDK
    • Channels
    • Presence management
    • Messaging
    • Manage audio
    • Couch co-op
    • Android app development
    • iOS app development
    • macOS app development
    • Windows app development
    • Real-time recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Troubleshooting
  • Reference
  • Privacy overview
  1. Vivox Core SDK documentation

Character encoding

Learn about character encoding in Vivox.
Read time 1 minute
Last updated 8 months ago

The Vivox SDK supports UTF-8 encoding for group text communication services and for buddy/presence services.
Note
UTF-8 is backward compatible with printable standard ASCII. If your application uses only printable standard ASCII for text and presence, then no changes are needed.
Arrays that contain text with UTF-8 encoding must have their length specified by the number of bytes, and not by the number of display characters.
For example, the following 9 characters will be sent as a message. They are represented in UTF-8 by an array of 27 bytes. When sending the message, specifying 9 rather than 27 bytes can cause truncation of the message.
私の車は青色です。{ 0xE7, 0xA7, 0x81, 0xE3, 0x81, 0xAE, 0xE8, 0xBB, 0x8A, 0xE3, 0x81, 0xAF, 0xE9, 0x9D, 0x92, 0xE8, 0x89, 0xB2, 0xE3, 0x81, 0xA7, 0xE3, 0x81, 0x99, 0xE3, 0x80, 0x82}

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.


    Report a problem with this page