memo

huby

Freshman
Joined
Feb 20, 2004
Messages
32
howdy !

i have some issues using the "memo" data type in MSaccess (or even text files, for that matter) because when i load data in a textbox or label :

1. all my paragraph info is gone. the text appears as one big block.
2. a lot of special characters aren't displayed (é, à, and so on)

i've tried tweaking with different types of encoding (ascii, utf8 etc) but that doesn't solve anything...

anyone ?

thanks for reading. hope your day is a fine one :D

Huby.
 
I know that if you use special caracter like "é à ê" you'll have to use :

Code:
HttpUtility.HtmlEncode(string)

This is under System.Web.
Remember not to put your flag (<b> <p>) inside that or they'll be encoded.

using this will return an instance of a string which all caracter that aren't normally showed in Html page are replaced by something like &215; (or something else).

Hope it helped you a little bit.
 
Last edited:
Back
Top