[[ Bug 13117 ]] Check for native encoding when replacing "\n" in button labels removed as it is unnecessary in 7.