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

    Unicode Line Separator (U+2028) works only on Mac

    Scheduled Pinned Locked Moved Bugs
    9 Posts 0 Posters 1.7k Views
    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.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 20/04/2010 at 07:39, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11.5 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Like the Mac version the Windows version should support the Unicode Line Separator (U+2028) for introducing linebreaks in resources like this:

      MY_ERRORDLG_MESSAGE "This works in Mac\u2028but not on Windows!";

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 20/04/2010 at 10:01, xxxxxxxx wrote:

        Add vote ^^

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 20/04/2010 at 10:49, xxxxxxxx wrote:

          have you tried \r\n or just \r ?

          Edit: oops, sorry, I thought it worked on win but not on mac but that´s the other way round actually. So scratch that.

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 21/04/2010 at 02:24, xxxxxxxx wrote:

            As already pointed out in another thread, the only thing that AFAIK does currently work on a cross plattform way is to add a Windows-Style CRLF like this:

            MY_ERRORDLG_MESSAGE "This works in Mac
            and Windows, but boy is it fugly!";

            Kabe

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 21/04/2010 at 06:03, xxxxxxxx wrote:

              I'll forward the issue.

              cheers,
              Matthias

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 22/04/2010 at 07:40, xxxxxxxx wrote:

                For the time being, I see only one workaround:
                In the .str file, write:

                MY_ERRORDLG_MESSAGE     "This works on Mac#as well as on Windows!";
                

                In your code, do e.g.:

                String ErrMsg = GeLoadString(MY_ERRORDLG_MESSAGE, "\n");
                

                Cheers,
                Jack

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 27/04/2010 at 03:24, xxxxxxxx wrote:

                  Actually Cactus Dan posted another workaround, which seems to work on both Mac & Windows:

                  Use "/u000d" for CR:

                  MY_ERRORDLG_MESSAGE     "This works on Mac/u000das well as on Windows!";

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Helper
                    last edited by

                    THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                    On 27/04/2010 at 13:02, xxxxxxxx wrote:

                    Please use the vertical bar sign "|" to seperate lines, for example "First Line|Second Line".

                    cheers,
                    Matthias

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Helper
                      last edited by

                      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                      On 28/04/2010 at 01:13, xxxxxxxx wrote:

                      AAARRRGH, why is Maxon introducing another *non-standard* way to do this?

                      Maxon defined that Unicode should be used for signs outside the standard ASCII range. The vertical bar is a standard ASCII char in the 7-Bit range, which should not have such a side effect IMO!

                      I would consider this behavior as a bug.

                      Kabe

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