How do you check the current codepage of a unix terminal?

I know that Windows has command "chcp" to do it. Is there an equivalent command on Unix? If not, how to get this information? I am using FreeBSD.

Read the MAN pages for: setlocale, environ, and iconv.
You'll want to set interpreter to your liking programatically and only at runtime.

One Response

  1. Barry B Says:

    Read the MAN pages for: setlocale, environ, and iconv.
    You'll want to set interpreter to your liking programatically and only at runtime.
    References :

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Posted on August 14th, 2008 by admin and filed under unix |

|