Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Will different computers have difficulty on reading my scripts?

Discussion in 'Getting Started' started by b1rso, Jul 11, 2018.

  1. b1rso

    b1rso

    Joined:
    Jul 7, 2018
    Posts:
    19
    I'm getting started with Unity now, and I think this question is pretty dumb but, anyway haha...
    My main language is Portuguese, so I'm writing my code in Portuguese. I use some symbols like ~,^,ç, and stuff like that in my classes, variables and so on. Will some different computers have difficulty on reading symbols like that in a code?
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    I wouldn't expect so. Your source files should be stored in UTF-8 format, which will be readable on any modern computer.
     
    Kiwasi and b1rso like this.
  3. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Computer will be fine. Its other humans you will need to consider, including your future self.

    Make the code as friendly to future you as possible.
     
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,956
    No, but there can be a problem with the language code file missing on a computer and the symbols not being rendered properly but that's just a rendering problem. Nothing else will be affected. Older OSes (eg Windows XP) didn't come with unusual languages for their region by default but the newer ones (eg Windows 10) come with them now.