Re: Accents



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>
.



Relevant Pages

  • Re: I cant believe there is this much activity in a CP/M group
    ... I can't believe there is this much activity in a CP/M group ... of computer science that can be understandable entirely by ... Actually, I like Unix for the same reason, and I think many would ... keeping it in your head just means ...
    (comp.os.cpm)
  • Re: [TEST(/review)] major/minor/devname fix
    ... Then somebody beats our PRNG maintainers over the head until they get ... their act together. ... Poul-Henning Kamp ... | UNIX since Zilog Zeus 3.20 ...
    (freebsd-current)
  • Re: How to sort find results
    ... > otherwise 'head' won't be able to find date_sort. ... > The problem is that Windows and UNIX have different concepts of how to end ... > the script again (personally, I'd test it on a smaller directory structure ...
    (freebsd-questions)
  • RE: How do I change the extensions on a slew of files
    ... That was off the top of my head using standard system tools. ... Welcome to FreeBSD and Unix and Unix-Like OS'. ...
    (freebsd-questions)
  • Re: the case of "-pe" and "-ne" swtich in Perl one liner
    ... Off the top of my head, here's a cheesy ... version of (unix) grep's -n option to print line numbers: ... Saskatchewan Government Insurance ...
    (perl.beginners)

Loading