server encoding