The covariant canonical method of quantization based on the De Donder-Weyl covariant canonical formalism is used to formulate a world-sheet covariant quantization of bosonic strings. To provide the consistency with the standard non-covariant canonical quantization, it is necessary to adopt a Bohmian deterministic hidden-variable equation of motion. In this way, string theory suggests a solution to the problem of measurement in quantum mechanics.