Re: Accents
- From: Graeme Wall <Graeme@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 04 Jan 2006 09:14:01 +0000
In message <BFE123DF.14086E%chrisridd@xxxxxxx>
Chris Ridd <chrisridd@xxxxxxx> wrote:
> On 3/1/06 10:30, in article a676a3e34d%Graeme@xxxxxxxxxxxxxxxxxxxx, "Graeme
> Wall" <Graeme@xxxxxxxxxxxxxxxxxxxx> wrote:
>
[snip]
> >
> > Except its 8-bit RISCOS, you've hit the nail on the head. Unfortunately
> > TextWrangler won't run on my Mac, I'm still using 10.2.8.
>
> One of the GEDCOM header fields defines the charset being used by the rest
> of the file. It may be worth playing with that a bit.
Not that I can make out:
0 HEAD
1 SOUR !Family_for_RISC_OS
2 VERS 2.25 2002.01.20
1 GEDC
2 VERS 5.3
2 FORM LINEAGE-LINKED
2 LANG English
0 @51@ INDI
1 NAME 1s
1 SEX F
1 FAMS
>
> > Now I've discovered how to get the characters I want it is just a matter
> > of ploughing through several hundred names reinserting the appropriate
> > accents. Serves me right for marrying a foriegner, all these are my
> > wife's family.
>
> The Unix way to do this would be to run the 'tr' program on your text file,
> but you'd need to know what all the character codes you were converting
> from/to were first. Just to make it more convenient for you, you need to
> know them in octal.
>
> An example converting spaces to Zs (pointless, but it shows the octal
> syntax) that works in Tiger is:
>
> tr '\040' 'Z' < fromfile > tofile
>
I understood all that up to the word Unix...
Many thanks anyway.
--
Graeme Wall
My genealogy website:
<http://www.greywall.demon.co.uk/genealogy/index.html>
.
- Follow-Ups:
- Re: Accents
- From: Chris Ridd
- Re: Accents
- References:
- Accents
- From: Graeme Wall
- Re: Accents
- From: Graeme Wall
- Re: Accents
- From: Chris Ridd
- Re: Accents
- From: Graeme Wall
- Re: Accents
- From: Chris Ridd
- Accents
- Prev by Date: Re: To sleep, perchance to dream
- Next by Date: Re: Accents
- Previous by thread: Re: Accents
- Next by thread: Re: Accents
- Index(es):
Relevant Pages
|
Loading