A zero-dimensional approach to Hermitian codes