由买买提看人间百态

topics

全部话题 - 话题: encoder
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
s*******l
发帖数: 8
1
Does anyone know how to use localized strings in the table names? I have
set the default encoding of Adaptive Server to be "UTF-8" and "enable
unicode conversion" to be 2. I think the encoding of the server should be
UTF-8. But is there any easy utility in ASE that I can use to input localized
table names/field names/values? I tried "Sybase Central", but failed.
Thanks a lot.
q**j
发帖数: 10612
2
来自主题: Database版 - [转载] Crystal Report 9 language
【 以下文字转载自 DotNet 讨论区,原文如下 】
发信人: qqzj (atrest), 信区: DotNet
标 题: Crystal Report 9 language
发信站: Unknown Space - 未名空间 (Fri Nov 12 11:48:36 2004) WWW-POST
My computer system's language is English, and I designed my crystal report in
english too. But when I want to print preview, the language is encoded (like
in IE we need to encode). But if I exported to PDF, i can view it in English.
Please help! thanks.
s*i
发帖数: 5025
3
来自主题: DotNet版 - C# HTTP request header parser?
An HTTP request header is pretty much like this, (but encoded):
========================================================
POST / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-
excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwav
e-flash, */*
Referer: http://localhost
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.
q**j
发帖数: 10612
4
来自主题: DotNet版 - Crystal Report 9 language
My computer system's language is English, and I designed my crystal report in
english too. But when I want to print preview, the language is encoded (like
in IE we need to encode). But if I exported to PDF, i can view it in English.
Please help! thanks.
l*s
发帖数: 783
5
来自主题: DotNet版 - [合集] webbrowser control question
☆─────────────────────────────────────☆
xig (xig) 于 (Mon Jan 1 15:44:16 2007) 提到:
在一个.net 2.0的winform程序里面,
我用webbrowser control去连一个网页,然后
用DocumentText propery得到网页内容,可是所有的
中文内容都变成乱麻了(问号之类的)。请问
如何解决? .net应该是支持unicode的呀?
☆─────────────────────────────────────☆
cogt (苦荆茶) 于 (Tue Jan 2 21:00:12 2007) 提到:
能post你的code? 你确信encoding设置对了?

☆─────────────────────────────────────☆
xig (xig) 于 (Wed Jan 3 00:46:56 2007) 提到:
我没有设置encoding,
string txt = webbrowser1.DocumentText;
如何设置?
☆───────
f*******w
发帖数: 407
6
我是刚接触actionscript没到一个星期的新手,请版上的高手指教:
I use following flash actionscript code, got from online, to load the "
Loading.txt" file:
var myTextLoader:URLLoader = new URLLoader();
myTextLoader.addEventListener(Event.COMPLETE, onLoaded);
function onLoaded(e:Event):void {
var myArrayOfLines:Array = e.target.data.split(/\n/,",");
}
myTextLoader.load(new URLRequest("Loading.txt"));
In "Loading.txt", the data of object in a row is (Dim1 Dim2 Dim3 OX OY OZ)
is:
60,12,9,-50,-50,50
84,12,9, 50, 50,50
Then... 阅读全帖
l*****e
发帖数: 20
7
来自主题: Hardware版 - 弱问一个显卡的问题
这两天买的dell e520n, 昨天还发文问安装问题的。多谢各位帮忙了!
目前的问题是,我通过显卡dvi output用dvi-hdmi cable连一个hdtv作为monitor.
发现最大分辨率是1024x768,而且图像有重影,有一个shift(右边有竖着的黑条,
左边则有些图标和开始键看不全)
显卡spec里有如下data:
Powered by GeForce 7300LE GPU
0.09 micron process technology
PCI-Express x16 interface support
4 Pixels/Clock Rendering Pipeline
400MHz RAMDACs support
2048x1536 resolution at 85Hz
Highest DVI output up to 1600x1200 resolution
Integrated full MPEG encode and decode support Integrated NTSC & PAL TV
encoder
output up to 1024x768 re
s***q
发帖数: 10585
8
encoding的问题
一些法文或是北欧的字符被解释成汉语字符了
解决:
右键->编码/encoding->西欧/Western Europe
如果没有这个选项就只能将就了
另外我觉得乱码所对应的原文应该是“acts as a glue”
c*m
发帖数: 1114
9
来自主题: Hardware版 - 重新设计过的htpc配置,请评论
PS: x100e resolution撑死播个720p.
另外高清with不同encoding有很多种,打个比方你能在mpeg-2下放1080p并不能叫可以轻
松播放1080p.我的T9500有时候播个变态encoding的720p都会难产呢。
t***y
发帖数: 741
10
来自主题: Hardware版 - TomatoUSB UTF support in SSH
Hi everybody,
Does the Teddy build 54 support UTF in SSH session? I know it is an old
build, however it is working fine for me and I am too lazy to update. (The
only known bug to me is that it does not support Hostname alias in static
DHCP table.)
I have configured puTTY to use UTF encoding, however my UTF files/folders on
the attached USB external hard drive are still not showing when SSH into
the router. In fact, I even did not see garbled text (in the case if the
encoding was not set properly... 阅读全帖
p********n
发帖数: 1707
11
"The same encoding using only software took 172 seconds. The same encoding
took 83 or 86 seconds GPU-assisted, using a Nvidia GeForce GTX 570 and a AMD
Radeon HD 6870 respectively, both of which are contemporary high end GPUs."
w****w
发帖数: 521
12
来自主题: Hardware版 - Youku下载Ip block问题。
It's working!
Just replace:
def get_info(videoId2):
return json.loads(get_html('http://v.youku.com/player/getPlayList/VideoIDS/'+videoId2))
with:
def get_html_use_proxy(url):
proxy = urllib2.ProxyHandler({"http":"proxy.uku.im"})
opener = urllib2.build_opener(proxy)
response = opener.open(url)
data = response.read()
if response.info().get('Content-Encoding') == 'gzip':
data = ungzip(data)
elif response.info().get('Content-Encoding') == 'deflate':
data =... 阅读全帖
s********i
发帖数: 17328
13
avchd就是h.264一般不需要re-encoding,只需要从新封装,osx quicktime估计就是做
了一下重新封装,而win下做了re-encoding。mediacoder选视频direct copy就可以了
。另外,选个播放器应该可以直接看,不需要转格式。
s******t
发帖数: 15
14
来自主题: Internet版 - [转载] video conferencing 的问题
【 以下文字转载自 Linux 讨论区 】
【 原文由 surmount 所发表 】
从webcam读live video是encoder吧? 真正的server部分只管
从encoder里读码流,是吗?
w*********r
发帖数: 63
15
来自主题: Internet版 - verizon dsl setup help!
Reinstalling your OS will do you no good. Getting real help by Calling
Verizon is not quite possible either. The solution is very simple: change
your web browser's encoding to Western European (Windows). Click on "View"
and go to "Encoding." It's that simple.
n********s
发帖数: 4
16
来自主题: Internet版 - 紧急求助-乱码转化
I received a mail that was in a non-Latin language, and it became a
code in my e-mail. Normally I use Edit - Encoding-language
however, this time it turned into another code.
e.g. this is code of Chinese
ÔÚÄúµÄÀ´ÐÅÖÐÔ&#
248;¾­Ìáµ½:
click Edit-Encoding-language[chinese simplified(HZ)]
脭脷脛煤碌脛脌麓脨脜脰脨脭酶戮颅脤谩碌陆
well, these are not traditional characters and it doesn't make sense, i'm
afraid it's another code.
c******i
发帖数: 1
17
火车旅行家 99A 版在中文WINDOWS下无法运行的大问题已被解决。原因是JDK中的
OutputStreamReader class 在中文WINDOWS下Default 是 gb2312 encoding ,
在英文WINDOWS下则是
iso_8859 encoding。 现经反复测试软件在
中文WINDOWS 95/98下运行正常,请网友们下载试用 http://zcai.home.mindspring.com
)。
在此对本人的粗心大意十分抱歉.
t****h
发帖数: 113
18
来自主题: Java版 - JMF支持DIVX吗?
我试过了,是MPEG-4的decoder,因为一些版权问题,
IBM现在没有发布encoder,但是他们建议可以使用divx的encoder
我自己试过,用IBM的这个decoder,可以播放divx的文件
st
发帖数: 1685
19
来自主题: Java版 - MS SQL Server JDBC Driver Problem
wrap it with CDATA block or encode it with XML encoding(I prefer first way)
f****y
发帖数: 70
20
来自主题: Java版 - jsp开发请教
requirement上就是这样讲,
jsp, outputing results using a soap encoding.
我想soap encoding是有规范的,就是xml
x***n
发帖数: 39
21
来自主题: Java版 - jdk 怎么装成了chinese的啊?
Even though you XP is English,
you might have already set Chinese as the default encoding,
Java checks that and shows Chinese messages.
Control Panel->Regional->Default Encoding...
P*****f
发帖数: 2272
22
来自主题: Java版 - 今天面试。
I remember at least for Jax-RPC, the encoding and decoding interfaces are
proposed, which complex data structure should implement for encoding and
decoding.

当parameter是collection, proxy不会有element 的type info. 所以一个问题是如何保
br />
っ恳桓鰁lement的type to cross platform and language RT. 即使generic也不会解

这个问题.
j*****I
发帖数: 2626
23
研究了一下,用firefox看中文email的时候,有的中文email比较"robust",不受encoding
设定影响,随便改fire browser的encoding 都不会乱码,有的就不行. 有什么trick么?
发现注册的yahoo group的发出的中文信件是robust的
o***g
发帖数: 2784
24
email里面没有encoding的设定么?

encoding
j*****I
发帖数: 2626
25
我做了测试,自己给自己发中文email. 分别用不同的encoding.
发现读的时候,必须用相同的encoding才能读,否则就乱码
不知道那些email list用的什么trick解决这个问题的
g*****g
发帖数: 34805
26
来自主题: Java版 - 显示email中文的问题
我读了rfc,header本身是带encoding string的,Part的encoding string在part
的header里。你说的new String(getBytes(), "GB2312")我不是没想过,但是
这是通用的,如果来个韩文,日文不得歇菜了。我会试试用
MimeBodyPart.getEncoding来代替上面的"GB2312"
w****g
发帖数: 597
27
我自己曾用Netbean6.1简单的试过在Java class中直接用中文,可以显示中文。注意使用正确的支持中文的文件存盘的encoding, 还有读中文文件,和显示中文encoding。
但是如果End user computer不支持中文(例如没有中文字库), 你在Java class中直接
用中文,中文会变为乱码。
t*******e
发帖数: 684
28

使用正确的支持中文的文件存盘的encoding, 还有读文件和显示中文encoding.
的确,我公司的电脑没中文字库,IDE不接受中文。家里的电脑就可以。
Z****e
发帖数: 2999
29
the error message is very clear, that your source code encoding does not
support the character you've entered.
change the source file or the whole project encoding to, say, UTF-8 in
Properties dialog of the resource element
l*****c
发帖数: 1153
30
用String.charAt()得到的是字符,是經過encoding的。怎麼能得到第i個raw byte?
getBytes()似乎得到的也是encoding過的。
l*****c
发帖数: 1153
31
Or say, I want the string internal memory block, I do not want any encoding
applied when I retrieve this memory block. I'm C++ guru, not Java guru. In C
++, I always have the raw memory block.
Currently, when I call String.charAt(), it does the encoding for me. Say,
they string is Unicode, it give me the the ith char, but I want the ith byte.
l*****c
发帖数: 1153
32
I think you know what I mean. Or I would say you know what I skipped in my statement.
OK. Actually I need to do special encoding and escaping. So, I need to get
the raw binary sequence of the string (UTF-8) and apply my encoding. Any
suggestion how to use the stupid java to do this?
g*****g
发帖数: 34805
33
If you need to encode your string in UTF-8, use
String.getBytes("UTF-8") and you'll get it.
String.getBytes(charset) does encoding
new String(bytes, charset) does decoding

statement.
F****n
发帖数: 3271
34
goodbug is right. everything is encoded. there is no "raw bytes" either in C++ or Java. There is only default encoding.
k***r
发帖数: 4260
35
来自主题: Java版 - Eclipse不能保存UTF-8文件?
I saved a JSP file with an external text editor (Notepad++)
as UTF-8 with BOM. Eclipse reads it fine after I set in
project properties, resource, source file encoding as UTF-8.
However, when I try to save, I get an error:
"Save could not be completed.
Reason:
Some characters cannot be mapped using "ISO-8859-1" charater
encoding ..."
Any idea how I can save JSP in UTF-8?
k***r
发帖数: 4260
36
来自主题: Java版 - Eclipse不能保存UTF-8文件?
Properties里面没有encoding。。。
菜单Set Encoding里面default是determined from content,
已经是UTF-8了,但是不管用。手工选择 UTF-8就可以了。
谢谢!
d*****d
发帖数: 180
37
文件存为utf8,
编译时告诉compiler是utf8
javac -encoding utf-8 XXX.java
运行时。
java -Dfile.encoding=UTF8 XXX
或用gb2312,unicode etc..
j**z
发帖数: 109
38
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
1. you are supposed to return the above HTML to the client browser, as the
result/respones when user click the SSO link. The browser will POST the data
to the bank site by .
2. Value of SAMLResponse is based 64 encoded, and url encoded SAML assertion
. SAML Assertion uses XML. You should be able to read it and understand the
structure.
3. You are not sending keystore, you are suppose to send public key file.
Keystore is where Java reads keys f
g*****g
发帖数: 34805
39
来自主题: Java版 - 问个xml的问题
You should decode and encode using UTF-8 for Chinese characters.
Now once it's encoded to UTF-8, you need right edtor to open it,
like M$ word should do it.

every
q***s
发帖数: 2243
40
来自主题: Java版 - maven,struts求助
Add this into you pom.xml maybe help to fix your problem.




org.apache.maven.plugins
maven-compiler-plugin
2.3.2

1.6
1.6
UTF-8




also you need right click on project and then maven->update maven configure
in ... 阅读全帖
z***s
发帖数: 3241
41
来自主题: Java版 - 一个详细有趣的JD
First, watch this video, it's nearly identical to what we're trying to
accomplish:
http://aws.amazon.com/elastictranscoder/
Desired Result:
An app / service with the following components:
-RESTful webservice interface
-Service for transcoding video files
-RESTful client for calling other RESTful webservices
At this time the service doesn't really need a database backend however it
would be good to add some failover / fault tolerance this could be
accomplished by embedding a persistent queue (for... 阅读全帖
z*********e
发帖数: 10149
42

这个是什么意思?不明白
我在tomcat manager里面看到的running app显示这个springapp的running 状态是
false,我在tomcat manager尝试start这个app的时候message: FAIL - Application
at context path /springapp could not be started
尝试访问localhost:8080/springapp/的时候,浏览器里显示
HTTP Status 404 - /springapp/
type Status report
message /springapp/
description The requested resource is not available.
Apache Tomcat/6.0.41
我的./springapp/war/WEB-INF/web.xml文件是

xmlns="http://java.sun.com... 阅读全帖
t*********e
发帖数: 630
43
来自主题: Java版 - JSF is actually fucking cool
package org.converter;
import java.net.URI;
import java.net.URISyntaxException;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;
import javax.faces.convert.FacesConverter;
@FacesConverter("org.converter.UrlConverter")
public class UrlConverter implements Converter {
@Override
public Object getAsObject(FacesContext facesContext,
... 阅读全帖
m******t
发帖数: 2416
44
来自主题: Linux版 - flash不显示字

Must be the gbk encoding - works fine for me with
default english locale. Did you try setting the encoding
in FF to utf-8?
D******n
发帖数: 2836
45
来自主题: Linux版 - faq:linux怎么上bbs
the Terminal tab -> Set Character Encoding -> Chinese Simplified(GBK)
of course u need to add the chinese encoding first if it is not there.
o**n
发帖数: 1249
46
did you find where to convert tag encoding from gb2312 to utf-8? I only see
the option to choose the encoding to write tag .
c*****m
发帖数: 1160
47
来自主题: Linux版 - gedit can't display chinese..

1, 在 .bashrc 里设置 alias gedit='gedit --encoding=gbk .fcitx/config'
这样如果你在命令行下起 gedit xxx.m 文件,就直接用起来了。
2, 编辑 gnome的菜单项gedit ,让它直接跑 gedit --encoding=gbk .fcitx/config
这样在菜单下起gedit,也可以用中文。
a*******e
发帖数: 3021
48
use gb2312 or gb18030 as locale, not utf-8 since most rar from windows is
using gb2312 for chinese name
or if somebody could write a script to automatically determine encoding on
filename then convmv to correct encoding
r****t
发帖数: 10904
49
我给你那行里面直接改 framerate=25/1, or framerate=20/1 就行了。
B-frame 这些和具体 codec 有关,需要改 encoder element 的参数,具体来说,
gst-inspect theoraenc 把 theoraenc 换成你需要用的 encoder。
f***8
发帖数: 641
50
果然好使了!谢谢:)
你说更改I、B、P-frame需要改 encoder element 的参数:
gst-inspect theoraenc 把 theoraenc 换成需要用的 encoder
我怎么google不到这样的例子呀,自己猜来猜去太费劲了。。。能麻烦你发个链接之类
的吗?
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)