PE-1651 - Make sure we always use the connection encoding when
building/resolving GenericSQLCommand fragments.
PE-1655 - Intermediate commit - added a unit test.