velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/ImportSupport.java [226:240]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            String charSet;

            // charSet extracted according to RFC 2045, section 5.1
            String contentType = uc.getContentType();
            if (contentType != null)
            {
                charSet = ImportSupport.getContentTypeAttribute(contentType, "charset");
                if (charSet == null)
                {
                    charSet = RuntimeConstants.ENCODING_DEFAULT;
                }
            }
            else
            {
                charSet = RuntimeConstants.ENCODING_DEFAULT;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/ImportSupport.java [537:550]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                String charSet;
                // charSet extracted according to RFC 2045, section 5.1
                String contentType = uc.getContentType();
                if (contentType != null)
                {
                    charSet = ImportSupport.getContentTypeAttribute(contentType, "charset");
                    if (charSet == null)
                    {
                        charSet = RuntimeConstants.ENCODING_DEFAULT;
                    }
                }
                else
                {
                    charSet = RuntimeConstants.ENCODING_DEFAULT;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



