Yoel Kortick
How to add 202A Unicode directionality character to cataloging template
It is recommended to see also “How to add special Unicode characters to cataloging records via the GUI”.
If we want to add Unicode directionality character 202A to a cataloging template we will follow these steps:
ONE
In one of the character conversion tables in $alephe_root/unicode we will convert a character (preferably a very infrequently used character) to 202A. In the example we will do this via the table for 8859_8 to unicode and will thus use the table $alephe_root/unicode/8859_8_to_unicode
We will convert the value of the C4 character to 202A. C4 is a capital A with two dots over it (Ä) :
yoel.server01-16(2)USM01-ALEPH>cd $alephe_root/unicode/
yoel.server01-16(2)USM01-ALEPH>grep 202A 8859_8_to_unicode
C4 202A
Here it is in the table with note describing the line:
Thus any time we have Ä it will get the value of 202A when it is being converted via $alephe_root/unicode/8859_8_to_unicode
It is recommended (for using all the directionality characters) to add this section to $alephe_root/unicode/8859_8_to_unicode
TWO
We will now add the character to a template.
yoel.server01-16(2)USM01-ALEPH>cd $data_root/pc_tab/catalog
yoel.server01-16(2)USM01-ALEPH>grep 245 yoel.mrc
2451 L $$aÄ
THREE
In the template add the appropriate line to convert the Ä to 202A:
Note: if you are copying and pasting the character to a template you may need to change the terminal window appearance to ISO 8859-1.
FOUR
After running UTIL M / 7 (or service “Update tables Package sys-03”) the 202A character will appear in the template:
Note one:
If you are interested in seeing how to display the 202A as above in editing mode of the cataloging module in visible form see file “How to add special Unicode characters to cataloging records via the GUI”.
Note two:
If we dump the file yoel.mrc, which contains the c4 which is converted to 202A, and use ASCII character hexadecimal (-cx), then we can see the c4 in the line: