P4 - UTF and Non UTF project

I have multiple projects on the go some use a special character set, others don’t. How do i properly integrate p4v into unreal so that the correct character set and localizations are chosen when the appropriate project launches?

I need 2 things modified at the time that unreal connects to P4v:

  1. The setting in the UI:
    From P4 UI the menu, Edit > Preferences > Display under “Localization” select “Set encoding for all new connections to unicode servers.

  2. Cmd line setting

    p4 set P4CHARSET=utf8

The first one is a UI setting and I don’t know what the equivalent command setting is. The second is easy enough to automate, but I need to do both. - Sorry I’m not a P4v expert so I don’t really know how to do this.