Leon van Dommelen
2014-05-19 20:16:32 UTC
Hi,
I am having difficulty getting utf-8 characters to show up on the
screen in DOS cmd.exe windows. I use the standard parenthesized batch
coding to do it,
(
chcp 65001
call lynx.bat
chcp 437
)
and the TT Lucida Console fonts.
But the UTF-8 bytes show up as individual boxes even with UNICODE
(UTF-8) in the options menu. I am wondering if it is because the
bytes are send to standard output one by one. I find, using g77, that
if I print each byte separately, they do not get recognized as part of
a utf-8 character. If however I print them as a single character
string, they do show up correctly, most of them at least.
This was using Windows XP and lynx 2.8.7. I am trying to use it to
show help files for some software of mine in case people do not have
access to a GUI.
Thanks,
Leon van Dommelen
--
NON-PRIVACY NOTICE: I regularly quote E-mail I receive to third
parties. E-mailing me indicates consent of those terms. Full details
are at http://www.eng.fsu.edu/~dommelen/notices/index.html
NON-REPRESENTATION NOTICE: My E-mails express my personal opinions,
not those of my employers. For official university opinions,
contact the appropriate administrative unit as found on one of:
http://www.eng.fsu.edu http://www.famu.edu http://www.fsu.edu
Leon van Dommelen E-mail: ***@eng.fsu.edu
FAMU-FSU College of Engineering Web: http://www.eng.fsu.edu/~dommelen
2525 Pottsdamer St, Room A229 Phone: (850) 410 6324 (FAX: 6337)
Tallahassee, FL 32310-6046 Mechan. Engng. Dept.: (850) 410-6331
--------------------> Please see warnings above <---------------------
I am having difficulty getting utf-8 characters to show up on the
screen in DOS cmd.exe windows. I use the standard parenthesized batch
coding to do it,
(
chcp 65001
call lynx.bat
chcp 437
)
and the TT Lucida Console fonts.
But the UTF-8 bytes show up as individual boxes even with UNICODE
(UTF-8) in the options menu. I am wondering if it is because the
bytes are send to standard output one by one. I find, using g77, that
if I print each byte separately, they do not get recognized as part of
a utf-8 character. If however I print them as a single character
string, they do show up correctly, most of them at least.
This was using Windows XP and lynx 2.8.7. I am trying to use it to
show help files for some software of mine in case people do not have
access to a GUI.
Thanks,
Leon van Dommelen
--
NON-PRIVACY NOTICE: I regularly quote E-mail I receive to third
parties. E-mailing me indicates consent of those terms. Full details
are at http://www.eng.fsu.edu/~dommelen/notices/index.html
NON-REPRESENTATION NOTICE: My E-mails express my personal opinions,
not those of my employers. For official university opinions,
contact the appropriate administrative unit as found on one of:
http://www.eng.fsu.edu http://www.famu.edu http://www.fsu.edu
Leon van Dommelen E-mail: ***@eng.fsu.edu
FAMU-FSU College of Engineering Web: http://www.eng.fsu.edu/~dommelen
2525 Pottsdamer St, Room A229 Phone: (850) 410 6324 (FAX: 6337)
Tallahassee, FL 32310-6046 Mechan. Engng. Dept.: (850) 410-6331
--------------------> Please see warnings above <---------------------