# Knowledge Base: When using the EOS C SDK directly in Unreal Engine, how should you handle string conversion? 

**URL:** <https://forums.unrealengine.com/t/knowledge-base-when-using-the-eos-c-sdk-directly-in-unreal-engine-how-should-you-handle-string-conversion/2858084>\
**Category:** Tutorial & Course Discussions\
**Tags:** epic-online-services\
**Created:** [November 18, 2026, 6:26am UTC](https://forums.unrealengine.com/t/knowledge-base-when-using-the-eos-c-sdk-directly-in-unreal-engine-how-should-you-handle-string-conversion/2858084 "2026-11-18T06:26:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![itho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/itho/32/1130265_2.png) [@itho](https://forums.unrealengine.com/u/itho)\
**Post date:** [November 18, 2026, 6:26am UTC](https://forums.unrealengine.com/t/knowledge-base-when-using-the-eos-c-sdk-directly-in-unreal-engine-how-should-you-handle-string-conversion/2858084/1 "2026-11-18T06:26:11Z")

</div>

The EOS C SDK requires you to pass const char\* in UTF-8, while Unreal’s FString is a UTF-16 TCHAR. Ensure that you’re converting the string before passing it to the EOS SDK using the macro in the example below.  
  
[https://dev.epicgames.com/community/learning/knowledge-base/qzdz7/epic-online-services-when-using-the-eos-c-sdk-directly-in-unreal-engine-how-should-you-handle-string-conversion](https://dev.epicgames.com/community/learning/knowledge-base/qzdz7/epic-online-services-when-using-the-eos-c-sdk-directly-in-unreal-engine-how-should-you-handle-string-conversion)
