Shell encoding setup