Hangul resyllabification by xulapp

u=unichr
while 1:a,b=map(ord,raw_input().decode('u8'));j=(a-16)%28;print(u(a-j)+u(b+(j-(2<j)-(4<j)*2+(7<j)-(8<j)*7+(22<j)-12)*588)).encode('u8')

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page