I've tried all kinds of encoding ASCII, UNICODE, UTF8 etc. but without
any correct result.

UTF8 returns:  

What's going on?!

On 20 jan, 15:27, Cerebrus <[email protected]> wrote:
> It seems obvious that your system's Default encoding is set to
> something other than Unicode or even Western European. Why not just
> use Unicode as a standard (Encoding.UTF8) ?
>
> On Jan 20, 6:24 pm, Paul Olthof <[email protected]> wrote:
>
> > While converting my String to Byte I'm getting all my space characters
> > 0x20 converted to 0x3F, which corresponds with á
>
> > I've search the web, but I didn't find anything that might help me...
>
> > I'm using te following code:
>
> > Code:
> > Dim Msg As String = "Hello World!"
> > Dim sendByte() As Byte = Encoding.Default.GetBytes(Msg)
>
> > Would become:
>
> > Helloáworld!
>
> > What am I doing wrong? Please help!

Reply via email to