Bug 68911

Summary: RTF: Unicode character parsed into wrong place
Product: LibreOffice Reporter: Tero Niemi <talamus>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: Inherited From OOo   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: Test RTF document

Description Tero Niemi 2013-09-03 23:42:07 UTC
Created attachment 85156 [details]
Test RTF document

Problem description:

Unicode character is parsed into wrong place if followed by normal hexadecimal escaped character.

Steps to reproduce:
1. Open the following RTF document:
{\rtf1\ansi\pard Beautiful \'7b\uc1\u8212?\'7d isn't it?\par}

Current behavior:
"Beautiful {}— isn't it?"

Expected behavior:
"Beautiful {—} isn't it?"

Operating System: Ubuntu
Version: Inherited From OOo
Comment 1 Urmas 2013-09-04 08:36:20 UTC
Parsing of \'7b/\'7d should've been fixed recently.