Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 12th, 2006, 01:27 PM
B_Grann B_Grann is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 1 B_Grann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 44 sec
Reputation Power: 0
Problems with letters

Hi I am from Denmark and I have a problem with the danish letters: "Æ, Ø and Å". The program can't display the letters in a textbox if it is read from a txt-file with the system.io.stream command, but it can display it if I have used the GetFiles command.
How do I read from a txt-file without holes in the text because of the missing letters?

Np. I have also tried to change the culture information in a strange way but it didn't help.

Reply With Quote
  #2  
Old February 27th, 2006, 08:12 AM
Phoenix_riser Phoenix_riser is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 225 Phoenix_riser User rank is Sergeant (500 - 2000 Reputation Level)Phoenix_riser User rank is Sergeant (500 - 2000 Reputation Level)Phoenix_riser User rank is Sergeant (500 - 2000 Reputation Level)Phoenix_riser User rank is Sergeant (500 - 2000 Reputation Level)Phoenix_riser User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 2 h 28 m 15 sec
Reputation Power: 15
Have you tried loading into a variable and then into the text box?

Reply With Quote
  #3  
Old February 27th, 2006, 09:14 AM
Darius Darius is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 108 Darius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 16 m 54 sec
Reputation Power: 5
There are 2 things that could happen:
1- The font you are using in notepad ( or whatever text editor) is not the same as the textbox

2- The file is unicode (you read two characters insteed of one), there are some routines in VB that can change unicode to text or biseversa, or you can use routines to use a textbox with unicode capabilities.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Problems with letters


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT