<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>in Windows, in NCS v2.9.0, compile error log &amp;quot;UnicodeDecodeError: &amp;#39;cp950&amp;#39; codec can&amp;#39;t decode byte 0xe2 in position 44:&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117572/in-windows-in-ncs-v2-9-0-compile-error-log-unicodedecodeerror-cp950-codec-can-t-decode-byte-0xe2-in-position-44</link><description>Hi, 
 Install NCS SDK v.2.9.0 in MAC by tool manager, compile SDK sample code by VSCode, OK 
 However, install NCS SDK v2.9.0 in Windows by tool manager, compile SDK sample code with error: 
 
 
 
 
 However, the NCS v2.8.0 works well in the same windows</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jan 2025 06:33:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117572/in-windows-in-ncs-v2-9-0-compile-error-log-unicodedecodeerror-cp950-codec-can-t-decode-byte-0xe2-in-position-44" /><item><title>RE: in Windows, in NCS v2.9.0, compile error log "UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 44:"</title><link>https://devzone.nordicsemi.com/thread/516894?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 06:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24af1be1-dc6b-4ed1-9c10-6efacec52956</guid><dc:creator>Felix Shih</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/leochen"&gt;LeoChen&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t expand the Kconfig tree on double-byte win10, it always show the circle to run.&lt;/p&gt;
&lt;p&gt;Do you meet the same problem on double-byte windows?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1736145008932v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: in Windows, in NCS v2.9.0, compile error log "UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 44:"</title><link>https://devzone.nordicsemi.com/thread/516263?ContentTypeID=1</link><pubDate>Thu, 26 Dec 2024 06:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a7c9a59-2593-414c-b894-026ac01164f9</guid><dc:creator>FrankWang15</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Thank you guys, it also works at my side. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Frank&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: in Windows, in NCS v2.9.0, compile error log "UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 44:"</title><link>https://devzone.nordicsemi.com/thread/516261?ContentTypeID=1</link><pubDate>Thu, 26 Dec 2024 05:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c97ca7f3-c4bc-43ba-a317-75e347de5300</guid><dc:creator>Felix Shih</dc:creator><description>&lt;p&gt;Hi Chen,&lt;/p&gt;
&lt;p&gt;It should be the solution, zephyr do the same modification in the github repo.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1735192593773v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: in Windows, in NCS v2.9.0, compile error log "UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 44:"</title><link>https://devzone.nordicsemi.com/thread/516260?ContentTypeID=1</link><pubDate>Thu, 26 Dec 2024 05:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f378136a-b92a-47bc-8723-6c2bd61f5dbd</guid><dc:creator>LeoChen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In the file scripts/list_boards.py,&lt;/p&gt;
&lt;p&gt;Please change:&lt;br /&gt;with board_yml.open(&amp;#39;r&amp;#39;) as f:&lt;br /&gt;to:&lt;br /&gt;with board_yml.open(&amp;#39;r&amp;#39;, encoding=&amp;#39;utf-8&amp;#39;) as f:&lt;/p&gt;
&lt;p&gt;This change resolves the build error on my side.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Leo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: in Windows, in NCS v2.9.0, compile error log "UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 44:"</title><link>https://devzone.nordicsemi.com/thread/516253?ContentTypeID=1</link><pubDate>Wed, 25 Dec 2024 10:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8170017d-50b0-42e9-8b30-0325e186618d</guid><dc:creator>FrankWang15</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Thanks a lot for the test and good to know it can work. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; one question : &amp;nbsp;why NCS v2.8.0 works well in the same windows11 environment ? is there any config to set to make the ncs v2.9.0 works in the same windows11 environment. &amp;nbsp;Thanks !&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Frank&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: in Windows, in NCS v2.9.0, compile error log "UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 44:"</title><link>https://devzone.nordicsemi.com/thread/516251?ContentTypeID=1</link><pubDate>Wed, 25 Dec 2024 09:53:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60ddbace-d66a-4e70-871d-06ca45541f9f</guid><dc:creator>Felix Shih</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I try to build NCS v2.9.0 sample in English Win10 virtual machine, it can build successfully, so the root cause is double-byte Win10 environment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: in Windows, in NCS v2.9.0, compile error log "UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 44:"</title><link>https://devzone.nordicsemi.com/thread/516246?ContentTypeID=1</link><pubDate>Wed, 25 Dec 2024 08:11:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbd88d84-d565-43d7-9f92-e81f32027e0b</guid><dc:creator>Felix Shih</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have the same error, and use the &amp;quot;west boards&amp;quot; command can reproduce the problem. I guess it may just happen in double-byte Windows environment.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;(v2.9.0) C:\ncs\v2.9.0&amp;gt; west boards
Traceback (most recent call last):
  File &amp;quot;&amp;lt;frozen runpy&amp;gt;&amp;quot;, line 198, in _run_module_as_main
  File &amp;quot;&amp;lt;frozen runpy&amp;gt;&amp;quot;, line 88, in _run_code
  File &amp;quot;C:\ncs\toolchains\b620d30767\opt\bin\Scripts\west.exe\__main__.py&amp;quot;, line 7, in &amp;lt;module&amp;gt;
  File &amp;quot;C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\west\app\main.py&amp;quot;, line 1085, in main
    app.run(argv or sys.argv[1:])
  File &amp;quot;C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\west\app\main.py&amp;quot;, line 244, in run
    self.run_command(argv, early_args)
  File &amp;quot;C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\west\app\main.py&amp;quot;, line 505, in run_command
    self.run_extension(args.command, argv)
  File &amp;quot;C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\west\app\main.py&amp;quot;, line 654, in run_extension
    self.cmd.run(args, unknown, self.topdir, manifest=self.manifest,
  File &amp;quot;C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\west\commands.py&amp;quot;, line 194, in run
    self.do_run(args, unknown)
  File &amp;quot;C:\ncs\v2.9.0\zephyr\scripts\west_commands\boards.py&amp;quot;, line 100, in do_run
    for board in list_boards.find_v2_boards(args).values():
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &amp;quot;C:\ncs\v2.9.0\zephyr\scripts\list_boards.py&amp;quot;, line 341, in find_v2_boards
    b, e = load_v2_boards(args.board, board_yml, systems)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &amp;quot;C:\ncs\v2.9.0\zephyr\scripts\list_boards.py&amp;quot;, line 230, in load_v2_boards
    b = yaml.load(f.read(), Loader=SafeLoader)
                  ^^^^^^^^
UnicodeDecodeError: &amp;#39;cp950&amp;#39; codec can&amp;#39;t decode byte 0xe2 in position 44: illegal multibyte sequence

(v2.9.0) C:\ncs\v2.9.0&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>