Does querybuilder support non-english character?
I want to make query using querybuilder with non-english character (Chinese)?
I tried with http://localhost:4502/libs/cq/search/content/querydebug.html but it is not working.
below is my query string:
property=contenttext
property.value=你好嗎
I have converted the chinese character (你好嗎)to unicode.
Can anyone help me?
That's a bug in the debugger UI. But it's easy to fix:
in crxde lite, overlay /libs/cq/search/components/querydebug/querydebug.jsp by copying it to /apps/cq/search/components/querydebug/querydebug.jsp
open /apps/cq/search/components/querydebug/querydebug.jsp
find the line "props.load(new ByteArrayInputStream(queryParam.getBytes("ISO-8859-1")));"
and replace with "props.load(new StringReader(queryParam));"
Will be fixed in 5.6.1.
Similar Messages
-
I have pdf files in European languages and want to be able to enter non-English characters in the "find" function. How does one install other character sets for use with Acrobat Pro XI?
Have you tried applying the update by going to Help>Updates within Photoshop Lightroom? The update should be using the same licensing? Did you perhaps customize the installation location? Finally which operating system are you using?
-
Import filter for Pagemaker does not support non-english charcters in references
Hi all,
we found that when importing from Pagemaker, all referenced images that contain non-english charcters (such as German umlauts) in their file names are lost. Apart from this, the direct import works quite well for us, therefore we would like to use this workflow if we can find a solution for the lost images. In some chapters, 95% of the images are imported correctly, in others almost all are lost.
Is there anything we can do about this? If we rename the images (exchange problematic characters by fixed string), is it possible to correct the references in PM with some sort of search&replace function? These are really a lot of images, so doing it manually would be a bad option.I found out how to do it.
For the benefit of others who might encounter this or similar filename issues, it would be nice to know the root cause.
On what operating system (and when) were the filename originally created?
(and what version of PM was used)
On what OS, and with what version of FM are you trying to import the PM file?
I presume that there is no issue with the filenames per se under the OS, but just during FM import?
My guess would be that PM is using some legacy encoding for references to file names that include extended latin characters, and that encoding does not translate at FM import. -
A clip in path
containing
non-English
directory like Chinese, When I analyze it, I have get nothing, the Ouput report SUCCESS, the Control show 'Frames:0 Worst Error: 0 Average RMS:0 False Positives:0 False Negatives :0', no green
curve,.
After I move the Solution and clips to a No
non-English
directory, the VGB analyze is work. The green curve of clip is appear.
NuGUNDAMThat is a known bug and no fix at this time. You will need to use your workaround that you said works.
Carmine Sirignano - MSFT -
Does Active Directory Support Non English Languages?
Hi,
I want to know that does Active Directory Support Non English Languages like japanes, Arabian?
I think we can have domain name in non english languages also. How active directory handles it.
Sandeep GuptaThis actually isn't controlled by Active Directory but by the core operating system and its language packs.
Server 2012
http://www.microsoft.com/oem/en/installation/downloads/Pages/Windows-Server-2012-Language-Packs.aspx?mtag=TW-P-S12#fbid=CPJWmInHH14
Server 2008 R2
http://www.microsoft.com/en-us/download/details.aspx?id=1246
Server 2008
http://www.microsoft.com/en-us/download/details.aspx?id=22681
Paul Bergson
MVP - Directory Services MCITP: Enterprise Administrator
MCTS, MCT, MCSE, MCSA, Security, BS CSci
2012, 2008, Vista, 2003, 2000 (Early Achiever), NT4
Twitter @pbbergs
http://blogs.dirteam.com/blogs/paulbergson < br> Please no e-mails, any questions should be posted in the NewsGroup. This posting is provided AS IS with no warranties, and confers no rights. -
Only VBA does not recognize non-English characters
Hello guys,
I have a new laptop with Windows 8.1 bought in the USA and I'm having a difficulties with Excel VBA (Office 365 University-64x bought in the Czech Republic - Central Europe). The VBA does not recognize non-English characters (particularly "ř" and
"ů") which causes me problem when running some codes that I wrote earlier on my previous laptop (Windows 7, bought in the Czech Republic with the same Office).
The problem with non-English characters has occurred only in VBA so far, otherwise I can use these characters normally in Excel cells, Word... I tried to install both English and Czech version of the Office with no change, I also installed Czech proofreading
tools and set everything to Czech in the Office. The location and language preferences in the Windows are also set up to Czech. And it is not a problem of a font. I also mentioned that when I tried to look up these characters, using Ctrl+F, it changes
original ř to r after a search and again this is only an issue of the VBA.
Thank you very much for any help.
TomHi Tom,
VBA for Excel can only recognize ASCII code from 0 to 255, if you use other special characters like "ř" or "ů", it will returns 63(?) to you. To use this kind of characters, you have to utilize ChrW function to parse a decemal to the
character.
http://msdn.microsoft.com/en-us/library/ee177465.aspx
for example, the hex code and dec code for these two characters are as below:
Hex Dec
ř 159 345
ů 016F 367
So to get these two characters in VBA, you could code as below:
ChrW(&H159) or ChrW(345)
ChrW(&H16F) or ChrW(367)
You can get the hex code of the character by searching in the system character map(in the Win8.1 start view, search "character map"), then convert the hex code to decimal code by yourself.
Range("A1").Value = ChrW(&H159) & ChrW(&H16F)
Range("A1").Value = ChrW(345) & ChrW(367)
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Linux or JVM: cannot display non english character
hi,
i am trying to implement a GUI that supports both turkish and english. user can switch between them on the fly.
public class SampleGUI {
JButton trTranslate = new JButton(); /* Button, to translate into turkish */
/* Label text will be translated */
JLabel label = new JLable("Text to Be Translated!");
trTranslate.addActionListener (new ActionListener(){
void ActionPerformed(ActionEvent e){
String language="tr";
String country="TR";
Locale currentLocale;
ResourceBundle messages;
currentLocale = new Locale(language, country);
messages = ResourceBundle.getBundle("TranslateMessages",currentLocale);
/* get from properties file turkish match of "TextTranslate "*/
label.setText(messages.getString("TextToTranslate"));
Finally, my problem is my application does not display non english chracaters like "� ş � ğ � i" in GUI after triggering translation.However, if i do not use ResourceBundle and instead assign directly the turkish match for that label (i.e. label.setText("şşşşş")), GUI successfully displays turkish characters. what may be the problem? which encoding set does not conform?
ps : i am using redhat linux8.0, j2sdk1.4.1. current locale = "tr_TR.UTF-8". in /etc/sysconfig/keyboard , keyTable = "trq". There seems no problem for me as i can input and output
turkish characters. OS supports this. Also jvm gets the current encoding from OS.It seems as if there is a problem in reading properties file in inappropriate encoding.
thanx for dedicating ur time and effort,
hELinI would suspect it would work in vim only if vim supported the UTF8 character set. I have no idea if it does.
Here is one blurb I found on google:
USING UNICODE IN THE GUI
The nice thing about Unicode is that other encodings can be converted to it
and back without losing information. When you make Vim use Unicode
internally, you will be able to edit files in any encoding.
Unfortunately, the number of systems supporting Unicode is still limited.
Thus it's unlikely that your language uses it. You need to tell Vim you want
to use Unicode, and how to handle interfacing with the rest of the system.
Let's start with the GUI version of Vim, which is able to display Unicode
characters. This should work:
:set encoding=utf-8
:set guifont=-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
The 'encoding' option tells Vim the encoding of the characters that you use.
This applies to the text in buffers (files you are editing), registers, Vim
script files, etc. You can regard 'encoding' as the setting for the internals
of Vim.
This example assumes you have this font on your system. The name in the
example is for X-Windows. This font is in a package that is used to enhance
xterm with Unicode support. If you don't have this font, you might find it
here:
http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz -
VBA does not recognize non-English characters
Hello guys,
I have a new laptop with Windows 8.1 bought in the USA and I'm having a difficulties with Excel VBA (Office 365 University-64x bought in the Czech Republic - Central Europe). The VBA does not recognize non-English characters (particularly "ř" and
"ů") which causes me problem when running some codes that I wrote earlier on my previous laptop (Windows 7, bought in the Czech Republic with the same Office).
The problem with non-English characters has occurred only in VBA so far, otherwise I can use these characters normally in Excel cells, Word... I tried to install both English and Czech version of the Office with no change, I also installed Czech proofreading
tools and set everything to Czech in the Office. The location and language preferences in the Windows are also set up to Czech. And it is not a problem of a font. I also mentioned that when I tried to look up these characters, using Ctrl+F, it changes
original ř to r after a search and again this is only an issue of the VBA.
Thank you very much for any help.
TomHi Tom,
I would suggest you post the question in the forum of
Excel for Developers as your query is directly related to VBA. Here we mainly support Office client side issues:
https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Regards,
Ethan Hua
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
How to validate for non-english character on a single line text field
In a "Single Line Text" field we would like to allow the users to enter alpha numeric values only. We should show error when the user enter non-English values like
carácter
Vijayaragavan, MCTSHi,
According to your post, my understanding is that you wanted to validate for non-english character on a single line text field.
I recommend to use jQuery to attach regular expression validation. Please refer to:
Using #jQuery to attach regular expression validation to a #SharePoint list form field
In addition, for custom validations you can create your own Types. Refer to
this[^] for creating custom field type
More information:
SharePoint Custom Field - Regex Validator
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
Error when import file with non-english character
Hi,<br /><br />I have images file with non-english character (unicode), for example ABC<X>.png where <X> is non-english character such as japanese, chinese, etc.<br /><br />Whenever I want to import the file to After Effects (right click -> import -> file), I always encounter error:<br /><br />Finding file/dir info for the file "C:\...\ABC?.png" -- file not found (-43) (3::30)<br />Can't import file "ABC?.png": unsupported filetype or extension. (0::1)<br /><br />My PC is Windows XP Professional 2002 SP2 English.<br /><br />How to solve this problem?<br /><br />Thanks
Adjust your system language settings. Proper file name conventions require a consistent Unicode environment, so install the respective foreign language support files or switch the language system-wide. Mixing different zones/ code ranges is always a bad idea. If your system is not in Japanese, AE will always misinterpret the characters and refuse to import. If that's not feasible, simply rename the files.
Mylenium -
Reading a non-english character
Hi, I have a trouble with reading a non-english character from a html page.
I'm taking the word from the html page, and compare it with itself,
like this
string.equals("BİTTİ")
but it returns false.
is it possible to correct this?specify an encoding for your inputstream reader:
BufferedReader in = new BufferedReader(
new InputStreamReader(new FileInputStream("infilename"), "8859_1")); for example -
Getting a request in a non English character
Hi ,
In an attempt to solve a problem of getting a request in a non English character , i use the code , taken from O'Reilly's "Java Servlet programing" First edition:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class MyServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
try {
//set encoding of request and responce
req.setCharacterEncoding("Cp1255"); //for hebrew windows
res.setCharacterEncoding("Cp1255");
res.setContentType("Text/html; Cp1255");
String value = req.getParameter("param");
// Now convert it from an array of bytes to an array of characters.
// Here we bother to read only the first line.
BufferedReader reader = new BufferedReader(
new InputStreamReader(new StringBufferInputStream(value), "Cp1255"));
String valueInUnicode = reader.readLine();
}catch (Exception e) {
e.printStackTrace();
this works fine , the only problem is that StringBufferInputStream is deprecated .
is there any other alternative for that ?
Thanks in advance
YairHi Again ..
To get to the root of things , here is a servlet test and an http client test which demonstrates using the above patch and not using it :
The servlet :
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.StringBufferInputStream;
public class Hebrew2test extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
request.setCharacterEncoding("Cp1255");
response.setCharacterEncoding("Cp1255");
response.setContentType("Text/html; Cp1255");
PrintWriter out = response.getWriter();
String name = request.getParameter("name");
//print without any patch
out.println(name);
//a try with patch 1 DEPRECATED
out.println("patch 1:");
BufferedReader reader =
new BufferedReader(new InputStreamReader(new StringBufferInputStream(name), "cp1255"));
String patch_name = reader.readLine();
out.println(patch_name);
//a try with patch 2 which doesn't work
out.println("patch 2:");
String valueInUnicode = new String(name.getBytes("Cp1255"), "UTF8");
out.println(valueInUnicode);
and now for a test client :
import java.io.*;
import java.net.*;
public class HttpClient_cp1255 {
private static void printUsage() {
System.out.println("usage: java HttpClient host port");
public static void main(String[] args) {
if (args.length < 2) {
printUsage();
return;
// Host is the first parameter, port is the second
String host = args[0];
int port;
try {
port = Integer.parseInt(args[1]);
catch (NumberFormatException e) {
printUsage();
return;
try {
// Open a socket to the server
Socket s = new Socket(host, port);
// Start a thread to send reuest to the server
new Request_(s).start();
// Now print everything we receive from the socket
BufferedReader in = new BufferedReader(new InputStreamReader(s.getInputStream(),"cp1255"));
String line;
File f = new File("in.txt");
FileWriter out = new FileWriter(f);
while ((line = in.readLine()) != null) {
System.out.println(line);
out.write(line);
out.close();
catch (Exception e) {
e.printStackTrace();
class Request_ extends Thread {
Socket s;
public Request_( Socket s) {
this.s = s;
setPriority(MIN_PRIORITY); // socket reads should have a higher priority
// Wish I could use a select() !
setDaemon(true); // let the app die even when this thread is running
public void run() {
try {
OutputStreamWriter server = new OutputStreamWriter(s.getOutputStream(),"cp1255");
//String query= "GET /userprofiles/hebrew2test?name=yair"; //yair in Englisg ..
String query= "GET /userprofiles/hebrew2test?name=\u05d9\u05d0\u05d9\u05e8"; //yair in hebrew - in unicode
System.out.println("Connected... your HTTP request is sent");
System.out.println("------------------------------------------");
server.write(query);
server.write("\r\n"); // HTTP lines end with \r\n
server.flush();
System.out.println(server.getEncoding());
server = new OutputStreamWriter(new FileOutputStream("out.txt"),"cp1255");
server.write(query);
server.flush();
catch (Exception e) {
e.printStackTrace(); -
INPUT textfield does not show non-English letters with transparent mode
INPUT textfield does not show non-English letters when i
type, if transparent mode turn on
this is bug of Flash Player 9?
will this bug had be fixed?I just tested Firefox and Chrome on linux, i doesn't work either, but i get different weird chars: éèça
However, on both mac and linux, if i copy the chars and paste them in the input field, it passes. -
Non-english character display as square box
Hi all,
I'm not very sure if this question should be asked here or in the JRE board, thus I'm trying here also
I have been trying an opensourced application called Alliancep2p (could be obtained from www.alliancep2p.com) using JRE 1.6 on an English Windows XP Pro machine.
The problem:
all chinese input are displayed as "square box". It looks like the programme "gets" the correct character, only that everything is displayed as "square box".
It looks like a font issue, though I'm not that sure. Is there anyway the default fonts could be changed, or to get the characters correctly displayed?
Note: I have east asian fonts installed, and the Java config panel can display chinese or other non-english characters correctly.
I tried the same application under GNU/Linux (locale is UTF-8) and chinese input/display correctly without any problem at all. Does it mean that it is not the problem of the application, or?
The original question in the JRE board:
http://forum.java.sun.com/thread.jspa?threadID=5265369&tstart=0
Thanks for all the input.I'm not really sure if it's a problem of the application or not. But the fact that it works perfectly under Linux makes me think maybe it's not the problem of the program, and actually their developers said that unicode is being used all over the program and seems like they're not CJK users also.
I'm not a java guru so I can't really tell from the source if there's anything wrong. -
Problem with Vcard and non-English character
VCard feature is what I would like to use, but I have quite a few contacts with Non-English name (Korean).
I know Ipod can display in Korean, but when I create a v-card with Korean character and copy the vcard file over into /contacts folder, I can see the filename as the person's name (From windows explorer), but I can ONLY see first character of the file when I display contacts in iPod.
Does anyone have tips/tricks on displaying all the filename in IPod contacts?
Thanks.
Windows XP ProBecause i use the string nota into a jsp page and i print the string nota into a textarea and the text is with no newline, example:
<textarea name="nota" rows="4" cols="60"><%= nota %></textarea>
the text into textarea is:
first linesecond linethird line
but i want that the text displayed into textarea is equal the text into the CDATA section:
first line
second line
third line
Maybe you are looking for
-
So this Preview opens automatically every picture on hard drive when I open the program. I haven't found any way to stop it.
-
JTable and ResultSet TableModel with big resultset
Hi, I have a question about JTable and a ResultSet TableModel. I have to develop a swing JTable application that gets the data from a ResultSetTableModel where the user can update the jtable data. The problem is the following: the JTable have to cont
-
ATV (white 160 gb) needs to sync images on every reboot
I have an white atv connected to my mac via itunes. I have created a smart image folder in iphoto which is the only folder the atv syncs when it comes to images. Every time i reboot my mac and start itunes again it starts to sync all the images in th
-
C7 - Problem with text messages - Help please!
I have had my Nokia C7 since November and have not been able to use it! When I send a text message less than 160 characters I am charged between 2 and 3 times on my bill. The text message is being sent once and the recipient is receiving the text onc
-
WRT54G2 V1.0 Wireless network problem
Hi, I am having a strange problem with the wireless network on my WRT54G2 V1.0 Each night I completely switch off the power to the router, because there is no need for it to be turned on when I dont use it. When I turn the power back on the next day,