T
Thomas Luedeke
I am writing a French conjugation testing script, and a significant
problem I have run into is how to pattern match the accented characters
used in the French language. For example, =C3=A9, =C3=A0, =C3=A8, =C3=AE=
, =C3=AF, etc.
I've tried a number of approaches, but can't seem to make it work.
After some research on the Internet, it may require a UTF-8 approach,
but I am not familiar with it.
As an example, assume I want to directly pattern match the French verb
ha=C3=AFr, and distinguish it from other verbs ending in -ir. How would =
I do
this?
Thanks in advance.
TPL
-- =
Posted via http://www.ruby-forum.com/.=
problem I have run into is how to pattern match the accented characters
used in the French language. For example, =C3=A9, =C3=A0, =C3=A8, =C3=AE=
, =C3=AF, etc.
I've tried a number of approaches, but can't seem to make it work.
After some research on the Internet, it may require a UTF-8 approach,
but I am not familiar with it.
As an example, assume I want to directly pattern match the French verb
ha=C3=AFr, and distinguish it from other verbs ending in -ir. How would =
I do
this?
Thanks in advance.
TPL
-- =
Posted via http://www.ruby-forum.com/.=