Polish encoding on console in x window

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Polish encoding on console in x window

Tomasz Marszal
Hi Group.
I have a question to polish users how to set up polish encoding in terminal
in x windows in Open BSD 5.1 i386.
LC_ALL and LC_LOCALE didnt work (works only in bash and i get strange signs
instead of polish dialect signs. Setting wsconsctl keyboard.encoding=pl
also dont give wanted result.

Best Regards
Tomek Marszal

Reply | Threaded
Open this post in threaded view
|

Re: Polish encoding on console in x window

Wojciech Puchar-5
> LC_ALL and LC_LOCALE didnt work (works only in bash and i get strange signs
LC_ALL environment variable are not defining console but program behaviour
(like messages in Polish)

Reply | Threaded
Open this post in threaded view
|

Re: Polish encoding on console in x window

Adam Bryt
In reply to this post by Tomasz Marszal
On Thu, Jul 19, 2012 at 08:51:49PM +0200, Tomasz Marszal wrote:

> Hi Group.
> I have a question to polish users how to set up polish encoding in terminal
> in x windows in Open BSD 5.1 i386.
> LC_ALL and LC_LOCALE didnt work (works only in bash and i get strange signs
> instead of polish dialect signs. Setting wsconsctl keyboard.encoding=pl
> also dont give wanted result.
>
> Best Regards
> Tomek Marszal
>

Hi,

I do not have 5.1 i386, but in 5.2-beta amd64 this setting is working:

/etc/kbdtype
    pl

~/.xsession
    export LC_CTYPE=pl_PL.UTF-8

~/.profile
    export LC_CTYPE=pl_PL.UTF-8

~/.Xdefaults
    XTerm*font:-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1

In ksh i can type polish signs in filenames (but 'ls' dont display it
correctly).

Adam

Reply | Threaded
Open this post in threaded view
|

Re: Polish encoding on console in x window

Alexander Polakov-2
* Adam Bryt <[hidden email]> [120720 10:56]:
> In ksh i can type polish signs in filenames (but 'ls' dont display it
> correctly).

Install colorls or use ls | cat.

--
Alexander Polakov | plhk.ru

Reply | Threaded
Open this post in threaded view
|

Re: Polish encoding on console in x window

Tomasz Marszal
In reply to this post by Adam Bryt
Thx its working on 5.1 but insted


/etc/kbdtype
pl
i did /etc/wsconsctl
keyboard.encoding=pl



On Fri, 20 Jul 2012 12:24:07 +0200, Adam Bryt <[hidden email]> wrote:

> On Thu, Jul 19, 2012 at 08:51:49PM +0200, Tomasz Marszal wrote:
>> Hi Group.
>> I have a question to polish users how to set up polish encoding in
>> terminal
>> in x windows in Open BSD 5.1 i386.
>> LC_ALL and LC_LOCALE didnt work (works only in bash and i get strange
>> signs
>> instead of polish dialect signs. Setting wsconsctl keyboard.encoding=pl
>> also dont give wanted result.
>>
>> Best Regards
>> Tomek Marszal
>>
>
> Hi,
>
> I do not have 5.1 i386, but in 5.2-beta amd64 this setting is working:
>
> /etc/kbdtype
>     pl
>
> ~/.xsession
>     export LC_CTYPE=pl_PL.UTF-8
>
> ~/.profile
>     export LC_CTYPE=pl_PL.UTF-8
>
> ~/.Xdefaults
>     XTerm*font:-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
>
> In ksh i can type polish signs in filenames (but 'ls' dont display it
> correctly).
>
> Adam