I am trying to concatenate byte and uint in my project. I am using the following logic I found somewhere:
bytes data = abi.encodePacked("Gold_",Gold);
where Gold contains a uint8 number. The output of above line is: Gold_\u0004, where it should be: Gold_4
Anyone please tell me what is the issue? or Any other method that I should use to concatenate the string and uint8?