Different behaviour of a german script on a french server.

T

Tinman

Gentlemen,
i am a perl beginner and i have the following problem :

A german people give me some perl script in order to make some
operations in some lines of a file.

In a file we got a 'ü' character.
When the script is run in a german server the result is correct.
I run the same script in a french linux and the result is no correct.
When i change the 'ü' into a 'u', the 'french' result is correct.

What is the solution ?
Have we got something to parameter in our configuration ?

Thanks for your help.
Tinman.
 
I

Ingo Menger

Tinman said:
Gentlemen,
i am a perl beginner and i have the following problem :

A german people give me some perl script in order to make some
operations in some lines of a file.

German scripts will not run on french servers. This is due to the war
of 1870. :)
In a file we got a 'ü' character.
When the script is run in a german server the result is correct.
I run the same script in a french linux and the result is no correct.
When i change the 'ü' into a 'u', the 'french' result is correct.

Honestly, nobody can say that unless we see
- some relevant code
- the correct result
- the incorrect result.

A possible reson fro errors may be: The ü character will not be
recognized as a letter on the french server, unless the locale is set
to german.
This could result in wrong behaviour of patterns like \w or \W.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top