support parse addresses with different encoding