enhanced string literal handling