compiling eM+ in DCBS(far-east) boxes
|
|
compiling eM+ in DCBS(far-east) boxes
| roytam1 |
Feb 12 2005, 10:34
|
|
Group: Translators Posts: 199 Joined: 9-September 03 From: Hong Kong |
in line 1336 of PPTooltip.cpp of today's CVS, there's a line:
CODE else if ((strText[j] >= _T('0') && strText[j] <= _T('9')) || strText[j] >= _T('à') && strText[j] <= _T('ú'))the [à'] and [ú'] are treated as one character and that line becomes to that: CODE else if ((strText[j] >= _T('0') && strText[j] <= _T('9')) || strText[j] >= _T('?) && strText[j] <= _T('?))as a result, it can't be compiled. so, please modifying this line to that in order to compile in far-east boxes: CODE else if ((strText[j] >= _T('0') && strText[j] <= _T('9')) || strText[j] >= _T('\xE0') && strText[j] <= _T('\xFA')) |
|
Post
#1
|
|
![]() ![]() ![]() |
| Aw3 |
Feb 12 2005, 13:59
|
|
Group: Admins Posts: 7319 Joined: 8-December 03 |
I think that your suggestion will be incorrect for Unicode...
|
|
Post
#2
|
|
| roytam1 |
Feb 12 2005, 14:57
|
|
Group: Translators Posts: 199 Joined: 9-September 03 From: Hong Kong |
|
|
Post
#3
|
|
| Aw3 |
Feb 12 2005, 17:19
|
|
Group: Admins Posts: 7319 Joined: 8-December 03 |
I don't know what are you talking about, but even Visual Studio 5.0 (about ten year old) creates Unicode applications without problems.
|
|
Post
#4
|
|
| roytam1 |
Feb 13 2005, 02:11
|
|
Group: Translators Posts: 199 Joined: 9-September 03 From: Hong Kong |
QUOTE(Aw3 @ Feb 13 2005, 01:19) I don't know what are you talking about, but even Visual Studio 5.0 (about ten year old) creates Unicode applications without problems. You're right but if the source file is in ANSI form, the compiler will read it in ANSI form. So please let all eM+ source files be Unicode. |
|
Post
#5
|
|
| Aw3 |
Feb 13 2005, 03:38
|
|
Group: Admins Posts: 7319 Joined: 8-December 03 |
We are going to work to achieve it, but it will take some time as well as add a lot of problems.
|
|
Post
#6
|
|
| roytam1 |
Feb 14 2005, 00:01
|
|
Group: Translators Posts: 199 Joined: 9-September 03 From: Hong Kong |
|
|
Post
#7
|
|
![]() ![]() ![]() |
| Lo-Fi Version | Time is now: 18th May 2013 - 22:51 |