reading character constants
possible AsCast implementation