Arabic-L:GEN:OS X punctuation alternate strategy

Dilworth Parkinson Dilworth_Parkinson at byu.edu
Mon Jan 20 22:18:39 UTC 2003


----------------------------------------------------------------------
Arabic-L: Mon 02 Jan 2003
Moderator: Dilworth Parkinson <dilworth_parkinson at byu.edu>
[To post messages to the list, send them to arabic-l at byu.edu]
[To unsubscribe, send message from same address you subscribed from to
listserv at byu.edu with first line reading:
           unsubscribe arabic-l                                      ]

-------------------------Directory-------------------------------------

1) Subject:OS X punctuation alternate strategy

-------------------------Messages--------------------------------------
1)
Date:  20 Jan 2003
From: Waheed Samy <wasamy at umich.edu>
Subject:OS X punctuation alternate strategy

You might try another approach, which might be faster and more
error-free, depending on what tools you have:

Bring up the document that contains the punctuation in an editor that
contains a search and replace function.
Replace the (offending) string with another.

Alternately, a small utility program can be created to do this
automatically.  In theory, such an application will:

open source_file (file containing bad punctuation)
create target_file (new file with corrected punctuation)
do until end of source_file

begin
    read source_file one character at a time
        if (bad sequence found) change to good sequence
    write character to target_file
end
close files


Also, bug the TextEdit people for a fix to the problem.

Waheed

------------------------------------------------------------------------
--
End of Arabic-L:  20 Jan 2003



More information about the Arabic-l mailing list