| Re: VB.NET garbage characters -
06-04-2007, 09:48 AM
Almost everybody in this newsgroup is using VB6 or lower. While you may
get a stray answer to VB.NET questions here, you should ask them in
newsgroups devoted exclusively to .NET programming. Look for newsgroups
with either the word "dotnet" or "vsnet" in their name.
For the microsoft news server, try these newsgroups...
microsoft.public.dotnet.general
microsoft.public.dotnet.languages.vb
microsoft.public.vsnet.general
There are some others, but these should get you started.
Rick - MVP
"mistknight" <EMAIL REMOVED> wrote in message
news:EMAIL REMOVED om...
> I have a Sybase database and I've populated it with Arabic data. To do
> that I used UTF-8 encoding inside the database. Now I want to view
> this in VB.NET
>
> I'm using listboxes, but when I add items to them I recieve garbage
> characters. Notice that if I populate the database with english data
> there's no problem at all.
>
> I'm using an Arabic font for the listboxes, windows XP prof is Arabic
> enabled, and I'm quite positive it's something inside the code. I
> suspect that listboxes simply do not support Arabic fonts, but I don't
> know.
>
> Using a System.Text.UnicodeEncoding object I tried this :
> .unicode.getString(arabic_name)
> .UTF8.getString(arabic_name)
>
> But nothing's working. Can anyone help me with this?
>
> Thanks |