Re: Small feature request for future EU versions

new topic     » goto parent     » topic index » view thread      » older message » newer message

Juergen Luethje wrote:

[snip}

> case_la() is just Euphoria's standard lower() and upper() combined in 1
> function. I have that already, and as has been discussed here, this
> doesn't handle special characters such as the German umlauts. So it is
> useless for me.

OK, but it is useful for me to handle *all* languages with pure
Latin alphabet. 
Maybe, it is useful for someone else as an examle of "delete double"
method.
There are many different people with different programming skills here.
Some of them just do not know that lower() and upper() handles pure
Latin only.

This list is for the free technical support of any user of Euphoria
programming language, for PD Euphoria users and for CE Euphoria users,
as it is stated on the Euphoria home page.

Well, we have done our job for pure Latin - there are enough
available functions, I think.

Let us go to the original national alphabets.

> > I think, you can make case_gr() for German alphabet,
> 
> As I wrote at the beginning of this thread, I already *had* made a
> function that is able to handle German characters.

Very well, I do understand that.
Sorry, I do not know your function yet, but I am *sure* it handles German
characters correctly -- you are German yourself.
But if German language has different code pages for DOS (OEM) and for
Windows (ANSI), your function has to handle *both* code pages correctly.
I can not create this function for you - I just do not know German,
and the standard code pages are more or less international
 - for not single native language.

Say, 1251 Windows CP, supports all Cyrillic languages - Russian,
Ukrainian, Belorussian, Tatar and so on, but every one of them
has its own alphabet(!).

And functions must handle *every* native alphabet of given coge page.

And many people just do not know, that they must handle their
alphabets for DOS and for Windows differently, not saying
about Linux and Mac.

> I thought you would provide me another function. Now I downloaded all
> that Russian stuff just so that you tell me, I shall write my own
> function???

Why you *shall*, if you have your function *already done* for one
or for all German code pages?

I just think that you can revise your function now with help from that
Russian stuff and correct your function for different German code pages
as it is already done for Russian.

RDS doesn't know German nor Russian well enough to provide the
case_ge() Euphoria function for you and the case_ru() function for me.

So, me wrote, remember please - try please, any alphabet may be
supported that Russian *way*, I think.

Me did not provide the universal function for any alphabet,
but a *way* to make the concrete function for concrete alphabet.

If there is the case_ru() function for all code pages in Russian,
why not to have case_ge() for German, case_fr() for French, case_gr()
for Greek and so on?
Without any confusing with usage of some universal function?

The universal function is possible, but it requires
dozens and dozens of the "if end if" statements and it requires
the knowledge of not only code pages, but plus national alphabets,
first of all to be created.

These functions are simple enough if you make them for your
native languages, but they are more or less buggy, if you use
some universal stuff.

For example, my case_ru() doesn't handle Russian letters
E and e with two dots above for now, just becouse of some
issues with the reference stuff.
And I can not discuss these issues with most of, say, Germans.

Who care? RDS? To do some custom job for their free PD production?

Good will and volunteers are needed here.

This is the only way to support the excellent PD thing.

Not Shareware, but Public Domain thing without expiry
time of evaluation or such. 

> > someone - case_fr()
> > for France, and so on.  case_ru() is Russian Cyrillic.
> > There are no any  "dos","win","koi","iso","mac"  for pure Latin.
> > Pure Latin  is just ASCII,  A..Z,  a..z.
> > Do you see now?

So, we have many alternatives just now - to use existing system functions
of Windows and Linux, and to use the native Euphoria functions -- yours
one for German and my case_la(), case_ru() for Latin and for 6 different
Russians, including specialized for Euphoria very rare Latinic Russian.

As I can suppose, RDS itself potentially may provide something native for
English, Japanese and Esperanto - but it seems to me, there is Latin
alphabet only for that task, lower() and upper() already exist. Done! smile

Once more - good will and volunteers are needed,
if you want the native Euphoria functions for this task.

The task is not very difficult if you do know your native alphabet,
be sure, dear End Users.

Good Luck!

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu