forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Text codification

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
marcelo
Contributor
Contributor


Joined: 10 May 2008
Posts: 93

PostPosted: Sat Nov 21, 2015 11:16 pm    Post subject: Text codification Reply with quote

Hi, im still here.
Is there any way to detect if a text file is ansi, utf-8, etc?
I have several text files and my script show each one in a edit box but sometimes i get unwanted characters.
I'm using string.dll to convert between any to other but i don't know how to detect how a file was saved.
I hope you understand my english.

Thanks a lot

Marcelo
Back to top
View user's profile Send private message
marcelo
Contributor
Contributor


Joined: 10 May 2008
Posts: 93

PostPosted: Mon Nov 30, 2015 1:16 pm    Post subject: Reply with quote

Solved.
I made my own function to detect / convert.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group