Convert string into “UTF 16” code – “You may assume that Hindi swar starts with अ”. – IGNOU MCA Assignment 2015 – 16

By | September 1, 2015

MASTER OF COMPUTER APPLICATIONS

Course Code : MCS-012
Course Title : Computer Organisation and Assembly Language Programming
Assignment Number : MCA(I)/012/Assignment/15-16
Maximum Marks : 100
Weightage : 25%

 

Convert the following string into equivalent “UTF 16” code – “You may assume that Hindi swar starts with अ”Are these UTF 16 codes similar as that used in ASCII?

 

UTF 16        Stands for   U – Universal Character Set

T – Transformation

F – Format

16 – 16-bits (216 =512 characters)

ASCII CODE table:-

ascii_code

 

And Extended list is from 256 – 511.

Table not found

To Convert:

“You may assume that Hindi swar starts with अ”

“UTF 16” Codes:

Y=087 o=079 u=085 (space) =032 m=109 a=097 y=121 (space) =032 (space) =032 t=116 h=104 a=097 t=116 (space) =032 H=072 i=105 n=110 d=100 i=105 (space) =032 s=115 w=119 a=097 r=114 (space) =032 s=115 t=116 a=097 r=114 t=116 s=115 (space) =032 w=119 i=105 t=116 h=104 (space) =032 (hindi swar)= < 255 (will be in the Extended list between 256 – 511)