Re: Handling special characters in peoples names in XML

2013-06-25 Thread Charles DeRykus
On Wed, Jun 26, 2013 at 7:45 AM, Peter Gordon wrote: > On Wed, 26 Jun 2013 12:36:01 +1200, Gregory Machin wrote: > > > >Looks like the data already is utf8, but the header of the XML > >specifies otherwise. > >How do you parse the data? Can you give us a short example file? > > > >Jenda > > This

Re: Handling special characters in peoples names in XML

2013-06-25 Thread Peter Gordon
On Wed, 26 Jun 2013 12:36:01 +1200, Gregory Machin wrote: > >Looks like the data already is utf8, but the header of the XML >specifies otherwise. >How do you parse the data? Can you give us a short example file? > >Jenda This is a bit of code I adapt to whichever encoding I require. use open ":enc

Re: Handling special characters in peoples names in XML

2013-06-25 Thread Gregory Machin
Thanks Terry for responding. The files are very big and contain data I'd prefer not to be out in the wild. what parts of the file would be helpful , I can provide the lines with the text and say heard part of the xml ?? Thanks G On Thu, Jun 20, 2013 at 7:42 PM, Jenda Krynicky wrote: > From:

Re: last

2013-06-25 Thread John SJ Anderson
On Tue, Jun 25, 2013 at 9:23 AM, shawn wilson wrote: > > On Jun 25, 2013 3:11 AM, "lee" wrote: >> I'm not sure what you mean --- other programming languages I know don't >> have two different kinds of 'if's and the irregularities involved with >> that. > How does perl have "different kinds of i

Re: last

2013-06-25 Thread shawn wilson
On Jun 25, 2013 3:11 AM, "lee" wrote: > > shawn wilson writes: > > > Lee, can you provide an example of another programming language that > > implements this or a thesis that describes this problem in more depth? > > I'm not sure what you mean --- other programming languages I know don't > have t

Re: last

2013-06-25 Thread Brandon McCaig
On Mon, Jun 24, 2013 at 08:20:57PM -0700, John W. Krahn wrote: > The parentheses in this case do nothing, and they certainly don't > imply that last is a function. > > $ perl -le' > use warnings; > use strict; > for (1..2) { > (); > } In this case I'd guess that the parenthesis would be i

Re: last

2013-06-25 Thread lee
Uri Guttman writes: > On 06/24/2013 08:46 AM, lee wrote: >> John Delacour writes: >>> >>> “Stop if it’s raining, open your umbrella.” >>> >>> Nobody would know what you intend to say. No condition is actually >>> attached to “stop”. >> last if $its_raining; >> >> By your logic, no condition is

Re: last

2013-06-25 Thread lee
shawn wilson writes: > Lee, can you provide an example of another programming language that > implements this or a thesis that describes this problem in more depth? I'm not sure what you mean --- other programming languages I know don't have two different kinds of 'if's and the irregularities in