NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
encoding - caching files ???


Joined: 28 Dec 2006
Posts: 63
Reply with quote
Hi.

I have some project.

I put there (copied) some fiels encoded as iso-8859-2.
And i had problems to convert to the UFT-8 because all the time PHHPED was trying to convert back to that ISO.

So i deleted ALL files.
I create a new one file encoded with UTF-8 (set as default encoding in the phped) and name the file "text.html"
and put some "ąęśł" in the file.
Closed and open again and i see "ąęśł".

All ok for now.

But then i duplicated this file and change the new one name to for example "mywork.html" and there was earlier a file with this name "mywork" encoded with iso-8859-2.
Now i open this copy of "test.html" but nmed as "mywork.html" and instead of "ąęśł" is see "ąęśł".

It is like i would see the contents of the file in phped not as utf-8 but like ansi ?

Where is the bug ?
Can i clear some files cache or something to get rid of that weird behaviour ?

tom
View user's profileFind all posts by amoorekSend private message


Joined: 28 Dec 2006
Posts: 63
Reply with quote
so i have the answer Smile

this is remembered in the
"fileenc.cfg"
but there should be some option to clear that at project properties or somewhere like that.

tom
View user's profileFind all posts by amoorekSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
if you save your file using File->Save As, please select desired encoding (utf-8 in this case) and it will be remembered in fileend.cfg (fileprop.cfg in case of v5.0).

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
encoding - caching files ???
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic