APAR status
Closed as fixed if next.
Error description
By using LotusScript user want to handle the characters in file that is got on Solaris. But the charaset of the file is EUC-JP, LotusScript function can't handle DBCS minus "-"(SJIS code "817C", EUCJP code "A1DD", UTF8 code "FF0D") correctly. Instr function can't search the DBCS minus of EUC-JP charaset. Strconv function can't convert the DBCS minus of EUC-JP charaset. Sample code is the following: -------------- Sub Initialize Dim txt As String Dim tmp As String Dim fileNum As Integer Dim fullhMinus As String Dim halfMinus As String fullMinus$ = "-" 'Fullwide Minus halfMinus$ = "-" 'Halfwide Minus fileNum% = Freefile() ' Import saved text file with EUC-JP charaset ' Fullwide Minus(0xA1DD)is inputted in the file Open "C:\Lotus\Work\euc.txt" For Input As fileNum% Charset="EUC-JP" Do While Not Eof(fileNum%) Line Input #fileNum%, txt$ ' (1) display correctly? Messagebox "Imported character: " & txt$ ' (2) Is the character fullwide Minus? If txt$ = fullMinus$ Then Messagebox "The character is 'Fullwide Minus'" End If ' (3) Can InStr search the Fullwide Minus? Messagebox "Result of InSt (1 is right): " & Instr(txt$, fullMinus$) ' (4) Can StrConv convert it to halfwide Minus? tmp$ = Strconv(txt$, 8) Messagebox "Result or StrConv: " & tmp$ ' Check the result of converting with StrConv Select Case tmp$ Case halfMinus$ Messagebox "Result is 'Halfwide Minus'(convert is correct)" Case fullMinus$ Messagebox "Result is 'Fullwide Minus'(not converted)" Case Else Messagebox "convert to unknown character" End Select Loop Close fileNum% End Sub -------------- Steps to reproduce with sample DB: 1. Put the sample DB on your Notes Data directory 2. Put EUC-JP files on the C drive euc.txt eucutf8.txt 3. Modify the file path of the agent Open "C:\Lotus\Work\euc.txt" For Input As fileNum% Charset="EUC-JP" 4. Execute the agent 5. You can see the EUC-JP file can't be handled correctly.
Local fix
Problem summary
This APAR is closed as FIN. We have deferred the fix to a future release.
Problem conclusion
Temporary fix
Comments
This APAR is associated with SPR# MNAA8DNAKW. This APAR is closed as FIN. We have deferred the fix to a future release.
APAR Information
APAR number
LO58141
Reported component name
DOMINO SERVER
Reported component ID
5724E6200
Reported release
703
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-02-01
Closed date
2011-05-17
Last modified date
2011-07-07
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
R703 PSN
UP
[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTMJ","label":"Lotus Domino"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.3","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
07 July 2011