This is just for authentication.
Dont create user in AD via Liferay
Thứ Tư, 27 tháng 1, 2010
Thứ Tư, 6 tháng 1, 2010
Native2ascii
- Create file in notepad, save some Vietnamese to the file (using utf-8 charset)
- Using this command to get the code: native2ascii -encoding utf-8 in.txt out.txt
in.txt is the input file
out.txt is output file
Input:
-------
Nghiêm Hải Bằng
Việt Nam
Hà Nội
Thành Phố Hồ Chí Minh
Output:
-------
Nghi\u00eam H\u1ea3i B\u1eb1ng
Vi\u1ec7t Nam
H\u00e0 N\u1ed9i
Th\u00e0nh Ph\u1ed1 H\u1ed3 Ch\u00ed Minh
- Using this command to get the code: native2ascii -encoding utf-8 in.txt out.txt
in.txt is the input file
out.txt is output file
Input:
-------
Nghiêm Hải Bằng
Việt Nam
Hà Nội
Thành Phố Hồ Chí Minh
Output:
-------
Nghi\u00eam H\u1ea3i B\u1eb1ng
Vi\u1ec7t Nam
H\u00e0 N\u1ed9i
Th\u00e0nh Ph\u1ed1 H\u1ed3 Ch\u00ed Minh
.innerText dont work in firefox
var so = new SWFObject("playerSinglePackage/playerSingle.swf", "mymovie",
"192", "67", "7", "#FFFFFF");
var song1 ;
//only play in IE
if(document.all){
song1 = document.getElementById('abc').innerText;
}
else{
//song1 = document.getElementById('abc').innerText;
song1 = document.getElementById('abc').textContent;
}
so.addVariable("autoPlay", "no");
so.addVariable("soundPath", song1);
so.write("flashPlayer");
"192", "67", "7", "#FFFFFF");
var song1 ;
//only play in IE
if(document.all){
song1 = document.getElementById('abc').innerText;
}
else{
//song1 = document.getElementById('abc').innerText;
song1 = document.getElementById('abc').textContent;
}
so.addVariable("autoPlay", "no");
so.addVariable("soundPath", song1);
so.write("flashPlayer");
Đăng ký:
Bài đăng (Atom)