patchThe GNU Bourne-Again SHell - Patches: patch #8049, RFE: support for IDN in command...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8049: RFE: support for IDN in command prompt

Submitter:  Miroslav Suchý <msuchy>
Submitted:  Fri 17 May 2013 07:34:22 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Open

Mon 04 May 2015 03:09:43 PM UTC, comment #1: 

Closing without a word? Can I get rationale of this act, please?

Miroslav Suchý <msuchy>
Fri 17 May 2013 07:34:22 AM UTC, original submission:  

Description of problem:
I have machine which has non latin domain name in hostname and my $PS1 include \h and the hostname is displayed in Pune encoding instead of proper Unicode.

[root@xn--luouk-k-z2a6lsyxjlexh ~]# hostname
xn--luouk-k-z2a6lsyxjlexh.lab.FILTERED
[root@xn--luouk-k-z2a6lsyxjlexh ~]# host xn--luouk-k-z2a6lsyxjlexh.lab.FILTERED
žluťoučký-kůň.lab.XXX has address 10.34.XX.XX
[root@xn--luouk-k-z2a6lsyxjlexh ~]# echo $PS1
[\u@\h \W]\$

Version-Release number of selected component (if applicable):
# rpm -q bash
bash-4.2.45-1.fc18.x86_64

How reproducible:
always

Steps to Reproduce:
1. created DNS record for machine with non latin character
2. set PS1=\h

 
Actual results:
hostname is in Pune encoding:
xn--luouk-k-z2a6lsyxjlexh

Expected results:
I expect it decoded from Pune to Unicode
žluťoučký-kůň

Miroslav Suchý <msuchy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chet (Updated the item)
  • -email is unavailable- added by msuchy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-04 chet StatusNone Wont Do

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code