The encoding of content is told by the header field "ContentType". But how do I know the encoding of this header field? I mean the characters "ContentType" is encoded in UTF8 or sth else?
            Asked
            
        
        
            Active
            
        
            Viewed 129 times
        
    1 Answers
1
            
            
        Header field values are essentially US-ASCII, unless the definition of the header field says something else (right now, node does).
One way to encode non-ASCII characters is to use an overlay encoding such the one defined in RFC 5987 (but the header field definition still needs to opt into that).
 
    
    
        Julian Reschke
        
- 40,156
- 8
- 95
- 98
