Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    STRINGENCODING -> StringEncodingRef ?

    Cinema 4D SDK
    classic api c++ r21
    2
    3
    433
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fwilleke80F
      fwilleke80
      last edited by fwilleke80

      Hi all,

      as we are managing loads of code that needs to stay backwards compatible with several releases, I came across the changes in String::GetCString() resp. maxon::StringInterface::GetCString(). The first accepts an argument of type STRINGENCODING to specify the desired encoding. The second one accepts a StringEncodingRef&.

      Is there some handy function which I can pass a STRINGENCODING value and get the corresponding StringEncodingRef in return? I can write myself with no problem, just wanted to know if there's something in the API already.

      Cheers,
      Frank

      www.frankwilleke.de
      Only asking personal code questions here.

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by

        Hi Frank,

        at the current time, we don't have any publicly-exposed method to achieve this. Some methods are available internally and I should check if they can safely exposed. Although I'll keep you updated on the topic, for the time being I consider it closed.

        Best, Riccardo

        1 Reply Last reply Reply Quote 0
        • r_giganteR
          r_gigante
          last edited by

          Hi Frank, I've just been confirmed that the function will be exposed in the future.

          Best, Riccardo

          1 Reply Last reply Reply Quote 0
          • First post
            Last post