code: public static Action charset(final String charset) {
          return new Action(r -> {
              r.setCharacterEncoding(charset);
              return r;
          });
      }
docs: Sets charset of the response (must come before stringContent/resourceContent Action)