in reply to Persistant Encodings Problems

*Sigh* Nik - you should know better than this now...
This encodigns drive me nuts: I create a new txt file inside the 'data/text/path' and if i save it with wordpad as normal .txt it wont display at all withing my embedded avascript inside index.pl
What's in the new txt file? which "embedded avascript in index.pl"? There is none in your enclosed code.
If i save it as utf8 i see funny chars.
Which funny characters?
I just dont get it i did the same with all the other text files, why not this be seen normally?
Which other text files? How do you mean, "normally"?
The origin of the txt source was form a webpage at google
Which page?
Does this matter?
Why do you assume we would know when you don't provide us with ANY useful information?

Does the attached code have anything to do with the problem or do you just attach it to every post you make lately?

I can see a few problems, but I've commented about them already. Read the replies to your previous posts.

Replies are listed 'Best First'.
Re^2: Persistant Encodings Problems
by Nik (Initiate) on Oct 13, 2006 at 13:40 UTC
    You are right.
    I should be more specific but i was too tired with this problem over and over and even irc help didn t come successfull.

    a) The new txt file is a normal txt file which i try to save normayll in windows as 'utf8' although something tells me it keeps saving it as 'iso-8859-7' or cp1253. The javascript has nothign to do with it. Its that i ahve this feeling that windows saves differenty the filenames and different the file names contents(encodings iam talking)

    b) Characters like ? ?? ??? ? / ??? ? ???

    c)The other files are .txt files i ceated in windows and then tranfered then to linux to transorm them form 'what_on_eartch_win_encode_them' => 'utf8'

    d) The last file i had problem with was only created in xp and tried with wordpad to be saved as 'utf8' which i dont i beleive the contents saves ok in utf8 but the filename itslef saves in greek-sio

    e) Page that i retrived the source is: http://www.adslgr.com/forum/archive/index.php/t-34485.html

    Lets hope this helps, cause those bloody encodings and the way windows saves filenames and filename contents are giving me headaacke months now. If you want any other details plz ask me to provide it. My site is http://nikos.no-ip.org please feel free to do your testing especially when comes to select entries from the drop down menu.