Unicode Line Separator (U+2028) works only on Mac
-
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!";
-
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 ^^
-
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.
-
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
-
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 -
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 -
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!";
-
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 -
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