After the internationalization talk got me fired up...
At first I tried printing out a variable with greek text in it
SET FOO="ÎÎÎÎÎÎÎÎ" <-if that doesn't show up in your browser trust me it
is Greek (iso-8859-7)
WRITE FOO
and I get greek :)
WRITE $ASCII(FOO)
and I get 206 no matter what the first character in FOO is
WRITE $CHAR(210)
gives me a block
and vista gives me control character errors so ...
I decided to try the pattable stuff that I was told about
I read from pages 40 to 43 in the GTM unix programmers guide and tried
to set up my own pattern table
I set up my environment variables
gtm_pattern_file=/blah/blah/pattern (which is the pattern file)
gtm_pattern_table=GREEK
then I have the following as my pattern file
---------------------------------------------------------
PATSTART
PATTABLE GREEK
PATCODE L
97,98,99, -
100,101,102,103,104,105,106,107,108,109, -
110,111,112,113,114,115,116,117,118,119, -
120,121,122, -
219, -
220,221,222,223,224,225,226,227,228,229, -
230,231,232,233,234,235,236,237,238,239, -
240,241,242,243,244,245,246,247,248,249, -
250,251,252,253,254
PATCODE N
48,49,50,51,52,53,54,55,56,57
PATCODE U
65,66,67,68,69, -
70,71,72,73,74,75,76,77,78,79, -
80,81,82,83,84,85,86,87,88,89,90, -
181,182,184,185,186,188,191, -
193,194,195,196,197,198,199, -
200,201,202,203,204,205,206,207,208,209, -
210,211,212,213,214,215,216,217,218
PATEND
;it says that there is a syntax error on PATEND
---------------------------------------------------------
I run vista
I enter VIEW "PATLOAD":"pattern" and get the following error
GTM>VIEW "PATLOAD":"pattern"Cannot load table GREEK twice
%GTM-E-PATTABSYNTAX, Error in pattern at line 24
GTM>VIEW "PATCODE":"GREEK"
GTM>
----------------------------------------------------
I am sure it is something simple but my eyes have gone all blurry.
Thanks!
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members