Jump to content

Software language problem...

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
10 replies to this topic

#1
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts
Hey C.C !

I have recently been programming my own n00b webbrowser in Java, however when I coded it, I ran it under Winbloats, I didn't have my USB thumb with Xubuntu and could only use WinVista otm; So now the problem is...
My code contains swedish alphabetic letters, means I used....
Win Swedish...
ÅÄÖ,åäö
To
*NIX Swedish...
NOTHING AT ALL !

So my question, why does it do that, I really need it to work under linux !!!!
I don't like this part, isn't the ASCII table the same in Win as in *NIX=?
Anyone can help me resolve this?
Posted Image

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Extended ASCII (128-255) may not be the same.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts

WingedPanther said:

Extended ASCII (128-255) may not be the same.

Is that so :(
Anyway to bypass or do a workaround it to fix?
Posted Image

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Most languages have Unicode support... you specify the encoding and you should be good to go.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts

WingedPanther said:

Most languages have Unicode support... you specify the encoding and you should be good to go.

Okay, I will try that :>
Posted Image

#6
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
Are those characters even extended ASCII?

#7
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts

John said:

Are those characters even extended ASCII?

I don't know and it didn't work, terminal complains !!!!
Posted Image

#8
Termana

Termana

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,057 posts
THAT will teach you for being Swedish! lol I'm kidding :P (you thought I was going to say "THAT will teach you for using Windows" didn't you? :P )

Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!


#9
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts

Termana said:

THAT will teach you for being Swedish! lol I'm kidding :P (you thought I was going to say "THAT will teach you for using Windows" didn't you? :P )
:>
Well, if your happy with it then ok...
Posted Image

#10
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
I don't think those characters are ASCII - I think they are unicode. Is your terminal set to output non-ascii characters?

#11
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts

John said:

I don't think those characters are ASCII - I think they are unicode. Is your terminal set to output non-ascii characters?

As a matter of fact, I don't know :O, I will check it; if so I will fix it, thanks for the tip !!
Posted Image