title: Spring get enum values from properties file
body: <p>I have an enum where values are presented in utf8 format. Because of this i have some encoding problems in my jsp view. Is there a way to get values from my <code>messages.properties</code> file. What if i have following lines in my properties file:</p>
  
  <pre><code>shop.first=Первый
  shop.second=Второй
  shop.third=Третий
  </code></pre>
  
  <p>How can i inject them in enum?</p>
  
  <pre><code>public enum ShopType {    
      FIRST("Первый"), SECOND("Второй"), THIRD("Третий");
  
      private String label;
  
      ShopType(String label) {
          this.label = label;
      }
  
      public String getLabel() {
          return label;
      }
  
      public void setLabel(String label) {
          this.label = label;
      }
  }
  </code></pre>