FAR Alt codes give out always ANSI chars, why?
FAR Alt codes give out always ANSI chars, why?
Hello,
Why is it not possible to enter OEM characters with Alt codes since version 2 (unicode)?
FAR 1.75.0.2634 works as expected.
No matter if you start your code with 0 or not, it always outputs ANSI 1252 character.
That is:
[Alt]+[2][2][1]
[Alt]+[0][2][2][1]
both output:
û
However, Unicode hex key codes like: [Alt][+][2][2][1][A] work fine.
Why is it so?
Why is it not possible to enter OEM characters with Alt codes since version 2 (unicode)?
FAR 1.75.0.2634 works as expected.
No matter if you start your code with 0 or not, it always outputs ANSI 1252 character.
That is:
[Alt]+[2][2][1]
[Alt]+[0][2][2][1]
both output:
û
However, Unicode hex key codes like: [Alt][+][2][2][1][A] work fine.
Why is it so?
Re: FAR Alt codes give out always ANSI chars, why?
[Alt]+[2][2][1]
(without preceding zero)
Should output √ (Square root symbol) which is in OEM codepage 437.
Instead, it outputs û which is located in ANSI Windows codepage 1252.
Why is it so? Am I too stupid to grasp it?
(without preceding zero)
Should output √ (Square root symbol) which is in OEM codepage 437.
Instead, it outputs û which is located in ANSI Windows codepage 1252.
Why is it so? Am I too stupid to grasp it?
- John Doe
- Бюрократ
- Posts: 13862
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 74 times
- Been thanked: 428 times
- Contact:
Re: FAR Alt codes give out always ANSI chars, why?
Alt-8730 gives you square root
P.S.
It looks Far accepts only unicode codes.
As I remember there were some discussion on russian forum, but I can't find it now.
P.S.
It looks Far accepts only unicode codes.
As I remember there were some discussion on russian forum, but I can't find it now.
Re: FAR Alt codes give out always ANSI chars, why?
I don't speak Russian well enough to find it,
I would be grateful if you could.
I've spent 4 days on researching this, so far...
I've looked at source code to get a clue, but to no avail.
What I want to do is find out if this is a bug or an intended behaviour.
I would be grateful if you could.
I've spent 4 days on researching this, so far...
I've looked at source code to get a clue, but to no avail.
What I want to do is find out if this is a bug or an intended behaviour.
Re: FAR Alt codes give out always ANSI chars, why?
Thank you for the link. Is it possible to enter Alt codes that start with 0?
For me, FAR appears to interpret the keystrokes as Alt+Insert no matter
if I have NumLock enabled or disabled. Must be hardcoded somewhere...
For me, FAR appears to interpret the keystrokes as Alt+Insert no matter
if I have NumLock enabled or disabled. Must be hardcoded somewhere...
Re: FAR Alt codes give out always ANSI chars, why?
So if I want to put euro sign (0x0080) I'm out of luck?
- John Doe
- Бюрократ
- Posts: 13862
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 74 times
- Been thanked: 428 times
- Contact:
Re: FAR Alt codes give out always ANSI chars, why?
just use unicode code for it
https://t.me/FarManager — Telegram чат