Fix Periods Changing to Commas in Windows and OneNote
Question details
The user needs periods to remain periods when entering IP addresses and numbers with Arabic or Persian regional settings.

- Product
- Windows regional settings, Microsoft OneNote, and Microsoft Office
- Device & OS
- Windows
- Scenario
- Typing an IP address or numeric value using an Arabic or Persian regional format and keyboard.
- Observed behavior
- Periods entered between numbers appear as commas in OneNote or Microsoft Office.
Check which keyboard layout is active in the Windows taskbar, then test the same input in both OneNote and Notepad. Note whether the period key or a numeric keypad decimal key produces the comma.
Review Windows regional number symbols
Use this check when regional number formatting may be affecting input or how values are displayed.
Regional symbols control number formatting in applications that use Windows settings. Changing them may not alter the character produced by a keyboard key.
Open Control Panel, select Region, and click Additional settings on the Formats tab.
On the Numbers tab, review Decimal symbol, Digit grouping symbol, and List separator. Set the symbols required for your work, ensuring the decimal and grouping symbols are different.
Click Apply and OK, reopen the affected Office app if necessary, and type 192.168.1.1 again. Also test a numeric value to check its formatting.

Test another keyboard layout and install updates
Use this approach if the key still produces commas after you review regional symbols, or if the behavior began after an update.
Work with Office documents in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easy to move existing documents. Windows regional and keyboard settings may still affect input in WPS.

Frequently Asked Questions
Why does a period become a comma when I type an IP address?
The keyboard layout may produce a comma for that key, or an application may apply regional number formatting. Test the same key in Notepad and switch layouts with Windows+Space to narrow down the cause.
Where can I change the decimal symbol in Windows?
Open Control Panel > Region > Additional settings, then review Decimal symbol on the Numbers tab. Click Apply and OK after making changes.
Will changing the decimal symbol fix my Persian keyboard?
Not necessarily. The decimal symbol controls regional number formatting, while the keyboard layout determines the characters keys produce. Test another layout with Windows+Space if the key still enters a comma.
Can I enter an IP address without changing my regional settings?
Yes. Try switching temporarily to another keyboard layout with Windows+Space, or copy and paste periods into the address. Check the result in the app where you need to use it.




