Comment 41 for bug 920749

Revision history for this message
In , Damien Miller (djm) wrote :

So we could define a channel request that could be interpreted by the server to attempt to set the locale-related environment variables. How about something like:

      byte SSH_MSG_CHANNEL_REQUEST
      uint32 recipient channel
      string "<email address hidden>"
      string language
      string charset

Where language might be "en_GB" and charset might be "UTF-8". From this the server could somehow search the local locale database for a good fit.

An alternative would be to special-case LANG and LC_* and do the translation implicitly.