Re: Rev fails to recognize Chinese

2005-05-16 Thread ron barber
Hubert
I think you will have to import the text from each field in your HC 
stack to the new Rev stack

set the unicodetext of fld "revfld" to uniencode(HCfld,"Chinese")
This will have to be different for the simplified - ("simplechinese) 
and traditional - ("chinese")

HTH
Ron
On May 16, 2005, at 6:50 AM, Hubert Seiwert wrote:
I have imported (read in) my Hypercard files to Rev. Some field contain
mixed text (English and Chinese), some field just are set to Chinese
(simplified and traditional) textfont. What appears on the screen 
instead of
Chinese is just a rubbish of ASCII characters. If I select the 
(supposed to
be) Chinese text and set the textfont to Apple Lisung Light (or any 
other
Chinese font), the text is converted to Korean and rubbish. I know, 
similar
problems have been discussed early in 2004, but I am wondering if a 
solution
has been found in the meantime. I would be thankful for any help.

Hubert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev fails to recognize Chinese

2005-05-15 Thread Hubert Seiwert
I have imported (read in) my Hypercard files to Rev. Some field contain
mixed text (English and Chinese), some field just are set to Chinese
(simplified and traditional) textfont. What appears on the screen instead of
Chinese is just a rubbish of ASCII characters. If I select the (supposed to
be) Chinese text and set the textfont to Apple Lisung Light (or any other
Chinese font), the text is converted to Korean and rubbish. I know, similar
problems have been discussed early in 2004, but I am wondering if a solution
has been found in the meantime. I would be thankful for any help.

Hubert


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev fails to recognize Chinese

2004-01-30 Thread Friedrich F. Grohmann
Thanks, Ron. I'll try to follow your suggestions.


>
>I do not know specifically what is happening in these cases but there 
>is a known issue with some Japanese characters that lead to a similar 
>result. You can search bugzilla for "japanese" and "unicode" to find 
>out more about this and related bugs. The best thing to do is report it 
>in bugzilla and include a sample file for Tuviah to look at. He is good 
>about fixing when there is a sample included.
>
>Ron
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev fails to recognize Chinese

2004-01-29 Thread ron barber
Hi Fritz

On Jan 29, 2004, at 12:25 AM, Friedrich F. Grohmann wrote:
The thing is that a new problem raises its head -the original text
contains one actually quite common character (yang3, "to rear") which 
not
only disappears in fld "newText" but leads to a line break. What is
happening here?
I do not know specifically what is happening in these cases but there 
is a known issue with some Japanese characters that lead to a similar 
result. You can search bugzilla for "japanese" and "unicode" to find 
out more about this and related bugs. The best thing to do is report it 
in bugzilla and include a sample file for Tuviah to look at. He is good 
about fixing when there is a sample included.

Ron

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev fails to recognize Chinese

2004-01-28 Thread Friedrich F. Grohmann
My gratitude for all contributions dealing with the problem I mentioned.

Tom hinted to "pasting differences with plain english text files". Well, 
the text I pasted was copied from a Nisus file which is basically a text 
file, as far as I understand. I checked with English text copied from 
Nisus and Rev has no difficulty in finding things therein.

Andre suggested "reading from file". Unfortunately, the text thus read 
still cannot be searched.

Ron wondered whether I had set the text of the fld to unicode and/or set 
the textfont of the field before pasting. Regarding the font, I did 
specify it by way of object inspector > text formatting. However, I had 
failed to pay attention to explicitly stating "Chinese" and tried now to 
remedy the situation. The result is quite unexpected: 

I created two fields, "oldText" with "Apple LiSung Light" and "newText" 
with "Apple LiSung Light,Chinese". Chinese text pasted from Nisus into 
"oldText" displays properly. But when I executed 

 put fld "oldText" into fld "newText"

via the message box, the transferred text displayed as *Korean* garbage! 
How the specification "Chinese" leads to this mixup is beyond me. (Out of 
curiosity I tested this command with text directly typed into field 
"oldText". It displays properly in field "newText" and both fields are 
searchable. Very nice, but doesn't solve my problem.)

So finally the suggestion to take care of uniEncode. Dealing with the 
just described test scenario, the command

 put uniEncode(fld "oldText","Chinese") into fld "newText"

works wonders! The Chinese is not only retained but can also be searched. 
In principle, this marvelous trick seems to solve my problem and once 
more I would like to thank everyone who shared his suggestions.

The thing is that a new problem raises its head -the original text 
contains one actually quite common character (yang3, "to rear") which not 
only disappears in fld "newText" but leads to a line break. What is 
happening here? 

Fritz






___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev fails to recognize Chinese

2004-01-27 Thread ron barber
Hi Fritz
How are you pasting the Chinese? Do you set the text of the fld to 
unicode? Do you set the textfont of the field before pasting?

uniencode(field "chinesetext",chinese) into fld "chinesefld"
set the textfont of fld "chinesefld" to "Hei,chinese"
Ron

On Jan 27, 2004, at 7:36 PM, Friedrich F. Grohmann wrote:

I've been working with Macs for a number of years under systems ranging
from 7.5 to 9.2. Much of my data is in Chinese and I've made extensive
use of HC in the past. Since I just got one PowerBook G4 with Panther
installed, I finally decided to begin migrating to Revolution.
To my utter astonishment, however, I can't get Rev to find Chinese in a
text field if the text has been copied into the field. It will duly
recognize newly typed text but does not react if it has been pasted.
Since this happens in the case of both OS 9 and OS X files and since
AppleWorks 6 does not have the same problem I can not imagine that this
has anything to do with fonts (which are anyway all Apple fonts).
Why does pasted Chinese escape Revolution? I will be enormously 
grateful
if one of the gurus on the list could enlighten me about the cause for
this behaviour  and graciously point out a solution.

Fritz
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev fails to recognize Chinese

2004-01-27 Thread Andre Garzia
I ain't no guru!!! but have you tried reading from file instead of 
pasting... I know you want to paste but as they say, if the door is 
locked, break the window (well it sounded like that). If you just want 
to have your text on a field, you can copy from HC, paste to 
SimpleText, save and read, right?

I know this is a lousy solution, but until a revGuru point you in the 
right direction, this might help.

Cheers
Andre
On Jan 27, 2004, at 10:16 PM, Thomas McGrath III wrote:


I've been working with Macs for a number of years under systems 
ranging
from 7.5 to 9.2. Much of my data is in Chinese and I've made extensive
use of HC in the past. Since I just got one PowerBook G4 with Panther
installed, I finally decided to begin migrating to Revolution.

To my utter astonishment, however, I can't get Rev to find Chinese in 
a
text field if the text has been copied into the field. It will duly
recognize newly typed text but does not react if it has been pasted.
Since this happens in the case of both OS 9 and OS X files and since
AppleWorks 6 does not have the same problem I can not imagine that 
this
has anything to do with fonts (which are anyway all Apple fonts).

Why does pasted Chinese escape Revolution? I will be enormously 
grateful
if one of the gurus on the list could enlighten me about the cause for
this behaviour  and graciously point out a solution.

Fritz

--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev fails to recognize Chinese

2004-01-27 Thread Friedrich F. Grohmann
I've been working with Macs for a number of years under systems ranging 
from 7.5 to 9.2. Much of my data is in Chinese and I've made extensive 
use of HC in the past. Since I just got one PowerBook G4 with Panther 
installed, I finally decided to begin migrating to Revolution. 

To my utter astonishment, however, I can't get Rev to find Chinese in a 
text field if the text has been copied into the field. It will duly 
recognize newly typed text but does not react if it has been pasted. 
Since this happens in the case of both OS 9 and OS X files and since 
AppleWorks 6 does not have the same problem I can not imagine that this 
has anything to do with fonts (which are anyway all Apple fonts). 

Why does pasted Chinese escape Revolution? I will be enormously grateful 
if one of the gurus on the list could enlighten me about the cause for 
this behaviour  and graciously point out a solution. 

Fritz
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution