当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: java的资源文件一个设计目的就是方便的提供多语言支持,可是它本身对unicode的支持是十分搞笑的。
 

 

 ·struts+hibernate例子(原创)    »显示摘要«
    摘要:hibernate+struts结合简单例子作者:雨伞(geezer)2004/11/12上次介绍了hibernate的基本知识,现在我们将它用在实际项目开发中,我们用struts与它结合来做一个简单的应用。例子所需要的lib文件我都没有放进去,因为太大了(压缩以后近10m)论坛不让上传,呵呵,你们自己把struts与hibernate的jar文件放进去吧。配置环境:hibernate 2.1(上......
 ·access out of range    »显示摘要«
    摘要:suppose onelinetext is a stringdon´t forget to check the index or it could be out of range! lenthg checking must performe at first rather than access the char in the string or the string will be......


写了一个hta来转换资源文件格式

java的资源文件一个设计目的就是方便的提供多语言支持,可是它本身对unicode的支持是十分搞笑的.很多人见到这样的资源文件都会觉得很熟悉吧:

【程序编程相关:JAVA与数据库连接方法(一)

【推荐阅读:如何在UNIX下实现COM组件的运行环境

【扩展信息:WebForm的Grid页面页脚Drop

tongren.oa.system.user.usernameexists=\u7528\u6237\u540d\u5df2\u7ecf\u5b58\u5728\uff0c\u8bf7\u91cd\u65b0\u9009\u62e9\u4e00\u4e2a\u7528\u6237\u540d

tongren.oa.system.role.rolenameexists=\u89d2\u8272\u540d\u5df2\u7ecf\u5b58\u5728\uff0c\u8bf7\u91cd\u65b0\u9009\u62e9\u4e00\u4e2a\u89d2\u8272\u540d

tongren.oa.system.role.userassignedtorole=\u6307\u5b9a\u89d2\u8272\u4e0d\u80fd\u5220\u9664\uff0c\u56e0\u4e3a\u7528\u6237{0}\u62e5\u6709\u8fd9\u4e2a\u89d2\u8272

我的天,这要怎么读?还要用工具把它转回unicode才能看到汉字,修改完了还要转回去?

昨天下午抽了一点时间写了一个hta工具来编辑资源文件,现在终于可以直接修改,自动转换保存了.直接把下面的代码保存为一个后缀为hta的文件即可:

<html>

<head>

<title></title>

</head>

<body>

<input type=file onchange="getfile()" id=fileselector>

<script language="javascript">

<!--

var fso;

var openfileforreading = 1

var openfileforwriting = 2

var openfileforappending = 8

var srcfilepath="";

fso = new activexobject("scripting.filesystemobject");


...   下一页
 ·c++builder 中 mapx 的对象引用    »显示摘要«
    摘要:来源:http://www.temporaldoorway.com/programming/cbuilder/activex/creatinganobject.htm注: creating an object to pass to an imported activex control note: the following applies only to bcb4......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE