Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26473 - Can not type russian characters in NetBeans IDE 3.5
Summary: Can not type russian characters in NetBeans IDE 3.5
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-12 03:48 UTC by Vano Beridze
Modified: 2004-02-25 22:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vano Beridze 2003-08-12 03:48:48 UTC
I've got Netbeans 3.5 running on Gentoo Linux
jdk1.4.2

The problem is that I can't type russian characters. I could type them
in RedHat8

To narrow down the problem Here is the snip from my /etc/X11/XF86Config
Section "InputDevice"
    Identifier    "Keyboard1"
    Driver    "Keyboard"
    Option      "XkbLayout"     "us,ru"
    Option    "XkbOptions"    "grp:shift_toggle"
EndSection

I can type russian characters in Mozilla 1.4 when pressing LShift+RShift,
but in NetBeans some strange characters are typed.

The Editor font is Monospaced 12 Plain.

Next,
in my /opt/sun-jdk-1.4.2/jre/lib/font.properties

monospaced.0=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.1=--standard symbols
l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific

xlsfonts | grep lucidatypewriter-medium-r-normal-sans-12
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-1
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-1
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-10
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-10
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-13
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-13
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-14
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-14
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-15
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-15
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-2
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-2
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-3
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-3
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-4
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-4
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-9
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-9

I downloaded rpm files from redhat ftp site containig russian fonts, converted
them to tar.gz and extracted font files, and now
xlsfonts | grep lucidatypewriter-medium-r-normal-sans-12
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-1
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-1
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-10
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-10
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-13
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-13
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-14
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-14
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-15
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-15
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-2
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-2
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-3
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-3
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-4
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-4
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-9
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-9
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-koi8-r
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-koi8-u
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-koi8-ub



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
netbeans does not want to show russian characters, it shows some strange (I
think arabic signs) 

Expected Results:  
Russian characters must be shown
Comment 1 Sergey Kuleshov (RETIRED) gentoo-dev 2003-11-26 10:50:52 UTC
Opened ages ago as I see...   I think you have KOI8-R locale. Right? Try using sollutions suggested here:
http://forums.gentoo.org/viewtopic.php?t=109255
--
Create file /usr/X11R6/lib/X11/locale/koi8-r/Compose with this content:

Код:
#
# koi8-r Compose Sequence
#
# Sequence Definition
#
# $XFree86: xc/nls/Compose/koi8-r,v 1.2 2001/04/26 21:09:40 dawes Exp $
#
# This file currently has no entries.  It appears that a compose file (even
# just an empty one) is required for the appropriate keysyms to work for
# this encoding.
#
# <Multi_key> Means <Compose>
# Special Character

# End of Sequence Definition
--

If that work, plz report here.
Comment 2 Chris Aniszczyk (RETIRED) gentoo-dev 2004-02-25 20:33:18 UTC
Any update on this issue? 
Comment 3 Vano Beridze 2004-02-25 22:00:16 UTC
I don't use gentoo right now.
Unfortunately nobody reacted on this bug in a timely manner
so I was forced to switch to RedHat again.

I will close the issue and after I install 2004.0 (when it will be available)
I will test the issue and reopen it again if needed.