native2ascii

I have a problem with native2ascii

I take always a wrong escaped character. The box instead of the one that is written at the original file.

Why?
pouliAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
CEHJConnect With a Mentor Commented:
Is everything working now?
0
 
CEHJCommented:
Are you viewing the file in Notepad? (That sounds like a stupid editor that can't deal with line feeds cross-platform)
0
 
pouliAuthor Commented:
With  number of different editors Wordpad, UltraEdit etc.

0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
CEHJCommented:
OK - what character is the original?
0
 
pouliAuthor Commented:
the original characters are being saved fromt he notepad
1) As an Ansi file (Greek characters)
2) As Unicode
3) As UTF-8

All of the Greek characters

But the result is the same.

0
 
pouliAuthor Commented:
I think that if we encode in the right form the Greek characters it will save me a lot of refectorng.

Now I am thinking of using        

BufferedReader in = new BufferedReader(
            new InputStreamReader(new FileInputStream("lan_el.properties"), "UTF8"));
String str = in.readLine();

But this will be costly in terms of programming. I will have to change a lot of things
0
 
pouliAuthor Commented:
EN=Ελληνική
FR=Γαλλική
CS=Τσεχική
DA=Δανική
DE=Γερμανική
EL=Ελληνική
ES=Ισπανική
ET=Εσθονική
FI=Φινλανδική
HU=Ουγγρική
IT=Ιταλική
LT=Λιθουανική
LV=Λετονική
NL=Ολλανδική
MT=Μαλτέζικη
PL=Πολωνική
PT=Πορτογαλική
SL=Σλοβενική
SK=Σλοβακική
SV=Σουηδική
0
 
pouliAuthor Commented:
I have just copied/paste the file to the page and voila :)

What is that ??
Escaped form ?
0
 
TimYatesConnect With a Mentor Commented:
yeah, they are HTML escaped chars...
0
 
pouliAuthor Commented:
The file must be at UTF8 in order for the native2ascii to work right
0
 
pouliAuthor Commented:
Yes.
0
 
CEHJCommented:
OK - you may want to delete this then - just post 0-pointer to CS
0
 
pouliAuthor Commented:
that's ok. :)
0
 
CEHJCommented:
OK then - thanks :-)
0
All Courses

From novice to tech pro — start learning today.