FBX SDK Programmer's Guide > FBX SDK Object Model >

# Supported String Formats

FBX SDK uses UTF-8 strings internally. UTF-8 (8-bit UCS/Unicode Transformation Format) is a variable-length character encoding for Unicode. It is able to represent any character in the Unicode standard, yet is backwards compatible with ASCII. For a good introduction to UTF-8, see Wikipedia (wikipedia.com).

FBX will convert its UTF-8 strings to the required string format when calling a function in an operating system’s API. If your application uses non-ASCII char, you must convert your strings to UTF-8 char * C-strings before passing them to FBX. fbxstring.h defines the following conversion functions for a Windows environment:

    FBXSDK_DLL void FbxWCToAnsi(const wchar_t* pInWideChar, char*& pOutANSI);
    FBXSDK_DLL void FbxAnsiToWC(const char* pInANSI, wchar_t*& pOutWideChar);
    FBXSDK_DLL void FbxAnsiToUTF8(const char* pInANSI, char*& pOutUTF8);
    FBXSDK_DLL void FbxUTF8ToAnsi(const char* pInUTF8, char*& pOutANSI);