Author Topic: Numbers being displayed as odd symbols...  (Read 5410 times)

Offline dorkins

  • Single posting newcomer
  • *
  • Posts: 8
Numbers being displayed as odd symbols...
« on: August 14, 2016, 11:09:40 am »
The number 1, 2, 4, 8, 9 are all displayed normally to me but the others, not so much. I'm not sure whats causing this glitch (if even a glitch) so is anyone knows how to fix it please help!

a screenshot of my workspace will be attached.

edit: just realized 7 looks like 8. help
« Last Edit: August 14, 2016, 11:11:24 am by dorkins »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Numbers being displayed as odd symbols...
« Reply #1 on: August 14, 2016, 11:46:43 am »
Which version of Code::Blocks, which OS, which system-language ?
Where do you get Code::Blocks from ?
If self-compiled, how did you do it (Code::Blocks and wxWidgets) ?

Offline dorkins

  • Single posting newcomer
  • *
  • Posts: 8
Re: Numbers being displayed as odd symbols...
« Reply #2 on: August 15, 2016, 12:25:26 am »
I downloaded codeblocks-16.01mingw-setup.exe from Sourceforge.net, I'm using windows 10 and my system language is English (US)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Numbers being displayed as odd symbols...
« Reply #3 on: August 15, 2016, 07:40:21 am »
I downloaded codeblocks-16.01mingw-setup.exe from Sourceforge.net, I'm using windows 10 and my system language is English (US)
Works fine here on Windows 10. Did you change the fonts inside C::B or using a custom default font on Windows?

You may want to try to remove the default.conf file in your %APPDATA%\codeblocks folder.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline dorkins

  • Single posting newcomer
  • *
  • Posts: 8
Re: Numbers being displayed as odd symbols...
« Reply #4 on: August 15, 2016, 11:01:59 am »
I downloaded codeblocks-16.01mingw-setup.exe from Sourceforge.net, I'm using windows 10 and my system language is English (US)
Works fine here on Windows 10. Did you change the fonts inside C::B or using a custom default font on Windows?

You may want to try to remove the default.conf file in your %APPDATA%\codeblocks folder.
I'm using the default font and I've deleted default.conf from the folder. The problem still persists.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Numbers being displayed as odd symbols...
« Reply #5 on: August 15, 2016, 07:31:53 pm »
Does this problem also arises in other programs? Can you try if this problem arises also with this software: http://www.scintilla.org/SciTE.html

What is your graphic card?

Offline dorkins

  • Single posting newcomer
  • *
  • Posts: 8
Re: Numbers being displayed as odd symbols...
« Reply #6 on: August 16, 2016, 11:58:27 am »
The graphics card I'm using is the AMD Radeon R7 370 Series. I'd like to have tried out that program but i'm not quite sure how to install it, could you link me a tutorial maybe?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Numbers being displayed as odd symbols...
« Reply #7 on: August 16, 2016, 01:03:21 pm »
Download http://www.scintilla.org/Sc366.exe and run it. Try to type your numbers and look if they look the same...

thanks

greetings

Offline dorkins

  • Single posting newcomer
  • *
  • Posts: 8
Re: Numbers being displayed as odd symbols...
« Reply #8 on: August 17, 2016, 01:21:36 am »
The numbers look normal in this program.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Numbers being displayed as odd symbols...
« Reply #9 on: August 17, 2016, 02:00:25 am »
The numbers look normal in this program.

Please type multiple line of text; then, do view -> Line numbers.

Does it still work right?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline dorkins

  • Single posting newcomer
  • *
  • Posts: 8
Re: Numbers being displayed as odd symbols...
« Reply #10 on: August 18, 2016, 10:14:25 pm »
Its perfectly fine in this program but the other day I went to go port forward something for a server, and pretty much the same thing happend for the numbers there too.

Offline dorkins

  • Single posting newcomer
  • *
  • Posts: 8
Re: Numbers being displayed as odd symbols...
« Reply #11 on: August 22, 2016, 08:27:29 am »
anyone got anything?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Numbers being displayed as odd symbols...
« Reply #12 on: August 22, 2016, 04:58:31 pm »
I never see such issue. (Though I don't have Win10, I'm only on WinXP).
Can you try to use a nightly build version, and see whether this bug happens there?
What is the source code encoding?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline dorkins

  • Single posting newcomer
  • *
  • Posts: 8
Re: Numbers being displayed as odd symbols...
« Reply #13 on: September 13, 2016, 07:48:32 am »
I forgot to thank everyone for replying, the problem was fixed when i updated my windows 10, thank you all for the help.