Namespace JXG.Util.UTF8
 
      ↳ JXG.Util.UTF8
				
				
					
Defined in:  encoding.js.
				
                
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| UTF8 encoding routines | 
| Method Attributes | Method Name and Description | 
|---|---|
| <static> | JXG.Util.UTF8.asciiCharCodeAt(str, i)
								 Extends the standard charCodeAt() method of the String class to find the ASCII char code of
a character at a given position in a UTF8 encoded string. | 
| <static> | JXG.Util.UTF8.decode(utftext)
								 Decode a string from utf-8. | 
| <static> | JXG.Util.UTF8.encode(string)
								 Encode a string to utf-8. | 
					Method Detail
				
				
					 
					<static> 
					{Number}
					JXG.Util.UTF8.asciiCharCodeAt(str, i)
					
					
						Extends the standard charCodeAt() method of the String class to find the ASCII char code of
a character at a given position in a UTF8 encoded string.
						
						
					
						
							- Parameters:
- {String} str
- {Number} i
- position of the character
- Returns:
- {Number}
<static> 
					{String}
					JXG.Util.UTF8.decode(utftext)
					
					
						Decode a string from utf-8.
						
						
					
						
							- Parameters:
- {String} utftext
- to decode
- Returns:
- {String} utf8 decoded string
<static> 
					{String}
					JXG.Util.UTF8.encode(string)
					
					
						Encode a string to utf-8.
						
						
					
						
							- Parameters:
- {String} string
- Returns:
- {String} utf8 encoded string