Generalized server encoding into *server-encoding* global