D
Dirk Einecke
Hi.
If I make this:
print 'üöä'
.... all is okay. But if I read [1] a file with the content 'üöä' and
print the content I get this: öüä. This is very strange. Can anybody
help me with this problem?
[1]
file = File.open(ENV['DOCUMENT_ROOT'] + "test5.temp", File::RDONLY)
while line = file.gets do
print line
end
file.close
bye
Dirk Einecke
If I make this:
print 'üöä'
.... all is okay. But if I read [1] a file with the content 'üöä' and
print the content I get this: öüä. This is very strange. Can anybody
help me with this problem?
[1]
file = File.open(ENV['DOCUMENT_ROOT'] + "test5.temp", File::RDONLY)
while line = file.gets do
print line
end
file.close
bye
Dirk Einecke