REVIEW-2176: Use utf-8 encoding in ServiceLocator.