This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error 869

I am building code for uVision 4, for LPC1768.
The operating system I am using is windows 7.
When I try to build I am getting error as 'System_lpc17xx.c error #869 could not set locale- to allow processing of multibyte character'.
However same code is building on Win XP without any error.

Can anybody help me o fix this issue?

Yogesh

Parents
  • One question here - why do you need support for multibyte characters when building embedded source code? Is it for comments in the source, or is it for printouts the code does?

    Note that most embedded targets do not support multibyte data (printf(), sprintf(), strlen() etc) so would require the developer - you - to figure out how to handle multibyte data for serial ports, LCD modules or maybe moving-message LED signs.

    A very significant percentage of all code in this world is done with all variable names and comments in english, just because:
    - it does not involve characters not supported by the compiler and/or programming language.
    - it allows the code to be sold to a company in another country, or to have the maintainance outsourced.
    - it allows companies to employ people from other countries, without that person getting stuck with code that can't be understood because of a language barrier.

Reply
  • One question here - why do you need support for multibyte characters when building embedded source code? Is it for comments in the source, or is it for printouts the code does?

    Note that most embedded targets do not support multibyte data (printf(), sprintf(), strlen() etc) so would require the developer - you - to figure out how to handle multibyte data for serial ports, LCD modules or maybe moving-message LED signs.

    A very significant percentage of all code in this world is done with all variable names and comments in english, just because:
    - it does not involve characters not supported by the compiler and/or programming language.
    - it allows the code to be sold to a company in another country, or to have the maintainance outsourced.
    - it allows companies to employ people from other countries, without that person getting stuck with code that can't be understood because of a language barrier.

Children
  • Hello Per Westermark,
    Thanks for immediate reply.
    I understood your point regarding multibyte character handling.
    But what I was saying that if all the settings are same(compiler/linker paths etc) on WinXP and Windows 7, why my code is not building at all on Windows 7? Is/Are any OS setting/s involved to build a code on Windows 7?

    Please help me.