[solved] Get chinese character to display in urxvt
Hey guys,
I'm running urxvt (specifically, rxvt-unicode-256xresources from the AUR), and I'm having trouble getting about half of the chinese characters to display. For example, the character 刘 shows up as a box. In my .Xresources, I have
URxvt*.font: xft:dejavu sans mono:size=10:antialias=true,\
xft:sazamani mincho:size=10:antialias=true,\
xft:arphic ukai:size=10:antialias=true
which I know covers the character at least once, which leads me to believe urxvt isn't choosing fonts corrects. Anyone run into this problem before?
Last edited by darkfeline (2013-01-10 01:08:43)
Well I'll be! I tried installing and using terminus, and it does indeed display it, but it was extremely ugly. After reinstalling vanilla urxvt, using my original config worked like a charm! I guess patches are patches for a reason.
Similar Messages
-
Hi,
i'm facing a problem when i try to get the Chinese word from database. It should display "�W��������" rather then "?????".
i tried to change the page encoding from "UTF-8" to "GB2312" but it still doesn't work.
Anyone have any idea on this?
Thanks.
nullHi,
I have no problem with getting the chinese character in my localPC with the following code.
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
But when i upload it to linux server and access it in my local PC, i found the same problem occured. So, i added
request.setCharacterEncoding("UTF-8");
As i need to pass this value to another page, so i encode it by using URLEncode like below before go to the other page :-
artistName = java.net.URLEncoder.encode(artistName,"UTF-8");
Anyone can help me on this?
Thanks
null -
Hi,
The operation system for my computer is Window 8.1. I am currently trying to install a chinese game. Even though I have downloaded and install all the chinese language pack, I have even set the regional language locale to chinese (similified / traditional),
the chinese characters will not display properly in the game. Some people told me i need to set the locale to Chinese PRC, but I am not sure where to download this PRC language pack for window 8.1 (as I only have chinese simplified and chinese traditional).
I would greatly appreciate if someone can give me a hand in solving this problem. Thank you for your help in advance.Hi,
The operation system for my computer is Window 8.1. I am currently trying to install a chinese game. Even though I have downloaded and install all the chinese language pack, I have even set the regional language locale to chinese (similified / traditional),
the chinese characters will not display properly in the game. Some people told me i need to set the locale to Chinese PRC, but I am not sure where to download this PRC language pack for window 8.1 (as I only have chinese simplified and chinese traditional).
I would greatly appreciate if someone can give me a hand in solving this problem. Thank you for your help in advance.
Hi,
Please open Region, under administrative -> Language for non-Unicode programs: choose Chinese.
Kate Li
TechNet Community Support -
Unable to get chinese character in print preview or in printout
Hi Gurus!
I have searched in SDN before posting this thread, as i could not able to find solution for my problem.
In VL02n - Delivery note - my user gives the customer part number sometimes in English and sometimes in Chinese.
Now i am facing the problem - i could not able to see any chinese characters in print preview ( it shows some garbage characters sometimes and sometimes #### ) and in printout - i see ####.
The things i have done is:
i have activated the multibyte functionality in local layout (ALT + F12) - I18N.
Checked the printer output device - in SPAD - the device type is 'CNSAPWIN : MS WINDOWS DRIVER VIA SAPLPD'.
In control panel - regional and lang. options - install east asian languages has got tick mark
So what else i need to do to get the chinese characters in print preview as well as in print out.
Thanks,
Sakthi Sri.Hi Jeeva,
Still i am searching for answer. Meanwhile, if you got any solution plz let me know too.
Also, for me in PDF, i could not able to view the print preview at all. I am using Adobe Reader 7.0 and it is saying chinese simplified font is installed. but not able to view it. it is again and again asking to install it.
may i know how you able to view it in PDF? or Are you using any higher PDF version?
Thanks.
Sakthi Sri. -
Chinese Character display issue on Coldfusion 10
My Company using Coldfusion to built an report platform and recently I upgrade our Coldfusion 7MX with Windows Server 2003 to Coldfusion 10 Enterprise with Windosw Server 2008 R2.
I copy the Code from the Old server to the new one, but I met the problem I couldn’t solve.
We have a repost that can enter, modify and view our SRM that has Chinese Character display request. Chinese character was display without problem when the system in the old server. which look like following.
once I move the code into the new server, I got the problem with Chinese Character as following.
This report pulling the data from SQL2005 with Windows Server 2003 R2.
Coldfusion code code was same and both version is access to the same database.
I ran all of the update included to install the windows MUI for Chinese character into the new server, but I still can't get the character display correctly.
I can view the chinese character website without issue but only to display in the report.
I contact with Microsoft tech support but they don't have an solution for me. please help.Install windows server language pack: http://www.microsoft.com/en-us/download/details.aspx?id=12250
Are you sure the Chinese is encoded in UTF-8? (It should be, but you should check the database field type encoding.) If it's simplified chinese it could be set to GB18030 and if it's traditional chinese it could be Big5.
You might want to leave off the encoding directive in CF and load the page in a browser then change encodings using tools > encodings to see what works.
祝你好运! -
I have a java application with read string from IE browser through JNI interface.
The issue is the String i got, which is "\u963f\u5f1f\u4ed4" can't be display in Chinese directly.
I do following convetion, it doesn't work.
byte[] sb=link.getBytes();
String Zhongwen=new String(sb, "GB2312");
But if I define a this String in my application, it works.
String link = "\u963f\u5f1f\u4ed4";
I bet Java treats first case as a buch of seperate characters since if I build
a String as "\\u" + "963f", I can't get chinese character.
So it is looks I can only use the parseInt(..) method on the Integer class and casting the result to a char.
try
char p = (char)Integer.parseInt(x, 16);
System.out.println(p);
catch(Exception e)
System.out.println(e);
Does antbody have another solution?The most probable source of error is character encoding conversion...most likely from the IE browser to the Java environment. Do you have a way to find out what encoding is used in the browser? IE will transfer form data back to the server in either UTF-8 or the encoding of the original form.
Transfer the data from IE correctly, and you will be able to display the characters without further problem.
John O'Conner -
I am a new user of Blackberry 8300, actually the handheld was a gift from my colleague which she
bought in Europe, I have chosen the mobile/internet service from Hutchison 3 company for both
mobile phone and e-mail connection, everything is working properly except the e-mail description
cannot be displayed or shown in Chinese Character, I've been seeking for the help of the Hutchison
people as well as download the relevant softwear, follow the guideline of the installation process, the
situation remained the same, the Chinese Character still displayed in black square dots.
The question is, if the hand held was not from the local dealer, it cannot be changed to Chinese language?
Second is, where can I find the software installation or hand held modification for Chinese version.
Third, I found the new Blackberry 3G hend held on some websites and magazines, when you are going to
launch theses models?
Thanks!
Kenneth. (Kmcchan)americangothic wrote:
How I am going to install this is still a mystery as I have no idea how any of this BB software works.
http://supportforums.blackberry.com/t5/BlackBerry-Device-Software/How-To-Reload-Your-Operating-Syste...
The search box on top-right of this page is your true friend, and the public Knowledge Base too: -
Muvo N200 reading Chinese Character pr
Have noticed that when reading some of the VBR mp3 with chinese ID tag; the chinese character not display correctly on the player.
<SPAN class=time_text>
Message Edited by kkboy on 07-29-2006 08:04 AMNo, the unicode support have bugs for reading the id3 tags.
Some characters are missed sometimes.
Its no good. -
How do we get Chinese keyboard support in Lion
How do we get Chinese character support in Lion using American keyboard?
As with any other language, you go to system prefs/language & text/input sources and check the boxes for the languages you want, plus the box for Show Input Menu in Menubar. Then you select the language you want from the "flag" menu at the top right of the screen and type away. There is Help available right on the machine plus a whole website here:
http://www.yale.edu/chinesemac -
[SOLVED]Getting Conky to display Chinese
How do I get my conky to display Chinese? I have some Chinese songs and the mpd thing in conky just shows the artist's names as boxes. I have scim pinyin installed, by the way.
Also, on pypanel, it won't display the chinese fonts as well, though it displays the words correctly on the sonata program and title itself.
Last edited by zephyrus17 (2008-10-15 14:46:35)It didn't work. Chinese fonts are still showing boxes and special characters. Here's my conkyrc, just for reference, with the mpd part at the bottom.
###Configuration###
# maintain spacing between certain elements
use_spacer right
# set to yes if you want conky to be forked in the background
background yes
use_xft yes
override_utf8_locale no
# Xft font when Xft is enabled
xftfont Sans-12
#xftfont DejaVu Sans-8
#xftfont wenquanyi-zenhei:size=8
#xftfont DejaVu Sans Mono-8
#xftfont Bitstream Vera Sans Mono:size=8
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=9
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 1200 0
#maximum_width 1490
# Draw shadows for the text?
draw_shades yes
# Draw outlines that amplifies text?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 0
# border width
border_width 0
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color DarkGrey
color3 white
color1 black
color2 888888 #dark grey
color3 CECECE #white-ish
# Text alignment, other possible values are commented
alignment tm
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment middle_right
#alignment bottom_left
# Gap between borders of screen and text
gap_x 25
gap_y 60
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
short_units 1
###End of configuration###
# stuff after 'TEXT' will be formatted on screen
TEXT
${font bulletballs aoe:size=17}b$font ${user_names}@$nodename
${font stylebats:size=17}2$font ${uptime}
${font stylebats:size=17}y$font ${battery_percent}%
${font stylebats:size=17}q$font ${ibm_temps 0}C
${font stylebats:size=17}p$font ${cpu cpu0}%
${font stylebats:size=17}h$font $memperc%
${font pizzadude bullets:size=17}r$font ${fs_used /}/ ${fs_size}
${font pizzadude bullets:size=17}z$font ${fs_used /home}/ ${fs_size /home}
${font pizzadude bullets:size=17}N$font ${upspeed eth0}kb/s
${font pizzadude bullets:size=17}T$font ${downspeed eth0}kb/s
${font WenQuanYi Zenhei:size=10}${mpd_artist}$font
Last edited by zephyrus17 (2008-10-14 11:01:05) -
Acrobat Reader cannot display Traditional Chinese Character correctly in 64 bit Windows 7
Hi,
I get a pdf file cannot display chinese character properly in Windows 7 64 bit but Windows XP 32 bit. I did uninstall and re-install Reader 9.4.3 and 10.0.1 with and without Traditional Fonts patch in the 64 bit machine but no luck. Does anyone have a solution for this?
Thanks in advance.I run Acrobat 9.3.3 on my Windows 7 Pro 64-bit system with no problems. Perhaps you should make sure you have all of Acrobat 9's maintenance installed.
Ken Friedman -
Some of Chinese character is not displaying correctly in PDF output
Hi all
I'm involved in the 1st Peoplesoft project in Korea and having a difficulty with displaying Chinese character in PDF output.
Usually Koreans can translate their name in Chinese and that Chinese name is displayed in personal information in their company as well as Korean name.
With Oracle BI Publisher I made rtf template that includes employees' Chinese name and tried to export to PDF output.
Most of Chinese character was fine but '李' character that was ok in HTM output was crashed in PDF output.
So I researched and tested some solutions.
Here's what I did.
I downloaded and installed five fonts(ALBANWTS.ttf, ALBANWTT.ttf, ALBANWT.ttf, ALBANWTK.ttf, ALBANWTJ.ttf) in client machine(c:\windows\fonts\) and did mapping job with xdo.cfg configuration file.
After that I previewed PDF output in the rtf template and checked embeded fonts in the PDF file.
I can see the newly installed font was embeded but still '李' character is crashed.
My problem is little bit different from others becuase only one Chinese character is crashed by for now.
The Chinese character '李' is very common last name in Korea and I believe Simplified Chinese character font have in it.
Please let me know if you have any solutions or experiance.
Thanks and best regards
Kwangbock.Hi James
Oh~ It perfectly works!!
I've been tried to solve this problem for a long time and
I really appreciate for your help~
Thanks~
Kwangbock. -
Cannot display Chinese Character in ver 10.1.3
Hello,
I would like to ask one more question, when i run my program, it contain two jsp pages,
the first one is to ask the user to input some chinese character, then the second one is to display the input data in the second page. I found out that the second one cannot display the input chinese character, but other chinese character in the second one can be display.
Some of my code in the second one are as follow:
String firstName = request.getParameter("firstName");
中文 <%=firstName%>
The result are displayed are displayed as follow:
中文 ?T???\!
It seems to me that the text can display but the variable cannot display, does any one know the reason?
One of the replies from the JDeveloper forum are as follow:
I seem to recall there was a bug in the 10.1.3 OC4J with passing parameters on the URL in other languages. You might want to ask on the OC4J forum:
OC4J
Regards,
Alan 20/11/2005chulongjiang,
i solve the problem with your advice, thanks lot!
Regards,
Alan 24/11/2005 -
Display Chinese character in iText
hi all I need to display Chinese character in my pdf file
I have iTextAsian.jar on my libraries , but the Chinese character did not show up
nested1.addCell(new Phrase(chinessname));I download freetype-2.1.10,
and I get ./configure --enable-static
./configure: make: not found
how to continue ... inorder to create your owner font
by the way I download the new extrajars-2.1.zip, this new jar supporting Chinese characters . but my first font is not working second font is work fine I don't know why?
first one
BaseFont bfChinese = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); not working
//second one
BaseFont bfChinese= BaseFont.createFont("MSungStd-Light", "UniCNS-UCS2-H", BaseFont.NOT_EMBEDDED);
Thank you! -
How can I display Chinese Character correctly in JSP
<p>Dear Expert,</p><p>Now I develop web application which using CR report, the development tool is IBM RAD(rational) and the database is DB2 UTF-8. Because need user to input something in JSP, so the programmer use "GB2312" to convert to insert into the database. But when I create the crystal report and view in the web, the Chinese character can't disply correctly, like "???????", even I formated the font in report, doesn't work too.</p><p>And I set the report JSP charset to "GB2312" or "UTF-8", both of them failed. Following is my JSP seting:</p><p><%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%%></p><p>or <%@ page language="java" contentType="text/html;charset=GB2312" pageEncoding="GB2312"%%></p><p>And I think I must convert the data from database site firstly, then display, but I don't know where I can coding it and how to coding? Could any one tell me how to get it? </p><p>I use RAD(Rational) as development tools.</p><p>Thanks so much for your any comments. Many thanks!</p><p>Steven</p>
<p>Hi Steven,</p><p> It sounds like you are on the right track to get the Chinese data to appear up correctly in the report. Can you tell me if you are using the JSF viewer or the JSP viewer?</p><p>From what the developers are telling me the following should work:</p><p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">For JSP viewers to set content type correctly you can either use</span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial"><%@ page contentType="text/html;charset=UTF-8" %></span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">Or</span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">response.setContentType("text/html;charset=UTF-8âu20AC)</span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">or </span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">simply call viewer.setOwnPage(true); if it not necessary to blend with other pages.</span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial"> </span></font></p> <p class="MsoNormal"><font face="Arial" size="2" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">For JSF viewer the third option is not available.</span></font></p><p class="MsoNormal">What does your JSP page code look like? Also, what does the output look like?</p><p>Finally, one last thing is to ensure that the font you are using in the report is available to the engine at runtime. This will mean that it wll need to be installed on the application server where your JSP page is running. Give this a try and let me know what you find. </p><p>Regards,<br/>Sean Johnson (CR4E Product Manager) <br/><br/> Rate this plugin @ Eclipse Plugin Central </p>
Maybe you are looking for
-
IPod touch 5th gen help!!!
IPOD TOUCH 5th GEN HELP!! Mine just stopped working a few months ago (randomly stopped turning on) and I have taken it in to get fixed but they cant do anything! Is there any way I could remove the memory from it to get my holiday pictures back ple
-
Hi all, did some looking around and couldn't find anything this specific. I am able to get the "Text window" when using the Boris Title 3D. But when I go to use the Boris Title Crawl and click on the "banner" for the Text window, nothing happens. I d
-
Hi Friends, I work in an MNC on SAP support on MM and need to go beyond just being a support executive. Dear all can u just guide me what should I study so as to go on to a successful career in future. My basic question will be that while on
-
Problem reading&writing word documents
hi: i wrote a program to look for a string and replace it with another. reading and wirting are done in the same file. it works fine as long as the file is a text document. if any one has any suggestion on how to make this program work for any file i
-
Is there a way to view image metadata in Lightroom before importing?
Lightroom 4.3 Win7-64 Canon 6D raw files It would be helpful to be able to examine camera data while choosing which images to import.