Issue 3466 in pharo: Display the leading zero while printing the hexadecimal version of a Character

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3466 in pharo: Display the leading zero while printing the hexadecimal version of a Character

pharo
Status: New
Owner: ----

New issue 3466 by geo.couprie: Display the leading zero while printing the  
hexadecimal version of a Character
http://code.google.com/p/pharo/issues/detail?id=3466


Pharo image: Pharo | Pharo-core
Pharo core version: Pharo1.2beta
Virtual machine used: pharo-vm-4.0.2-win32

Steps to reproduce:
1.(Character value:15) printStringHex -> 'F'

it should return '0F'. Character>>hex returns '16rF' and should not be  
fixed, but printStringHex must display the leading zero, because the  
smallest representation of a Character is a byte.

Additionally, String>>asHex should use Character>>printStringHex instead of  
Character>>hex.



Reply | Threaded
Open this post in threaded view
|

Re: Issue 3466 in pharo: Display the leading zero while printing the hexadecimal version of a Character

pharo

Comment #1 on issue 3466 by geo.couprie: Display the leading zero while  
printing the hexadecimal version of a Character
http://code.google.com/p/pharo/issues/detail?id=3466

Fix in PharoInbox:  
SLICE-Issue-3466-Display-the-leading-zero-while-printing-the-hexadecimal-version-of-a-Character-GeoffroyCouprie.1.mcz


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3466 in pharo: Display the leading zero while printing the hexadecimal version of a Character

pharo
Updates:
        Status: Fixed
        Labels: Milestone-1.3

Comment #2 on issue 3466 by stephane.ducasse: Display the leading zero  
while printing the hexadecimal version of a Character
http://code.google.com/p/pharo/issues/detail?id=3466

we should check what this change may break.


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3466 in pharo: Display the leading zero while printing the hexadecimal version of a Character

pharo
Updates:
        Status: FixProposed

Comment #3 on issue 3466 by [hidden email]: Display the leading zero  
while printing the hexadecimal version of a Character
http://code.google.com/p/pharo/issues/detail?id=3466

(No comment was entered for this change.)


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3466 in pharo: Display the leading zero while printing the hexadecimal version of a Character

pharo
Updates:
        Status: Comment

Comment #4 on issue 3466 by [hidden email]: Display the leading zero  
while printing the hexadecimal version of a Character
http://code.google.com/p/pharo/issues/detail?id=3466

(No comment was entered for this change.)


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3466 in pharo: Display the leading zero while printing the hexadecimal version of a Character

pharo
Updates:
        Labels: -Milestone-1.3

Comment #5 on issue 3466 by [hidden email]: Display the leading zero  
while printing the hexadecimal version of a Character
http://code.google.com/p/pharo/issues/detail?id=3466

(No comment was entered for this change.)